Hello I am using the function findMRCA of phytools. I tried it with a simulated tree and it worked as it should. Now I want to use it with a real tree but get an odd error message: > findMRCA(TreeP, tips= c(16, 17)) Error in if (anc == 0) break : missing value where TRUE/FALSE needed This is the info about TreeP: > summary(TreeP) Phylogenetic tree: TreeP Number of tips: 17 Number of nodes: 16 Branch lengths: mean: 0.05285941 variance: 0.001793694 distribution summary: Min. 1st Qu. Median 3rd Qu. Max. 0.000001 0.013200 0.036010 0.084470 0.143000 No root edge. First ten tip labels: Tbar Tmin Gtho Gact Gpero Gche Gcos Gpan Gset Gcha No node labels. Any help will be much appreciated. Juan Antonio Balbuena --
Dr. Juan
A. Balbuena |
_______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/