Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Loading trees #162

Open
helenedbqt opened this issue Oct 21, 2024 · 1 comment
Open

Loading trees #162

helenedbqt opened this issue Oct 21, 2024 · 1 comment

Comments

@helenedbqt
Copy link

Hi all

I am working on species delimitations using BEAST program and I want to plot the statistic model results in R from the inferred phylogenetic tree. the output tree is in .tree format, not in Nexus nor in TNT.

How do you I load a .tree file in R using the package ape?

thanks a lot

@ms609
Copy link
Owner

ms609 commented Oct 23, 2024

From memory, I think BEAST outputs trees in nexus format, but saves them with the file extension .tree. ape::read.tree(filename) should do the trick.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants