Hi,

I'm trying to use the picante package in R to build phylogenetic trees,
based on a list of taxa I have data for and the phylocom APG3 megatree
(version R20091110; http://www.phylodiversity.net/phylomatic/). However,
trying to read the tree in R using:

read.tree("R20091110.new.txt")

Gives the error message:

Error in if (sum(obj[[i]]$edge[, 1] == ROOT) == 1 && dim(obj[[i]]$edge)[1]
>  :
  missing value where TRUE/FALSE needed

This seems like such a basic question, but I don't know what the problem
with the root edge is. Are there any modifications you have to make to the
megatree in order to read it in R? Thanks so much for your help!

Best,

Megan Bartlett

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to