xavierdidelot / TransPhylo

Reconstruction of transmission trees using genomic data
http://xavierdidelot.github.io/TransPhylo/
GNU General Public License v2.0
60 stars 22 forks source link

Save result as phylo object #33

Closed MarliesJFrancine closed 5 months ago

MarliesJFrancine commented 5 months ago

Hi,

After running the inferTTree() function, I would like to save the output transmission tree as a phylo object. Is this possible? I have tried extractTTree() but this does not generate the transmission tree as a phylo object.

Kind regards, Marlies

xavierdidelot commented 5 months ago

Hi Marlies,

The extractTTree() function returns the transmission tree, but this is in the form of a ttree object. A ttree object cannot be converted into a phylo object, because a transmission tree is not the same thing as a phylogenetic tree.

Best wishes, Xavier