Hi All,
I am trying to do ancestral state reconstruction in R using the packages {ape}
and {phytools}, but these two packages do not seem to handle reconstruction to
include data at internal nodes. I am able to do a reconstruction (on a sample
tree, attached) using a tree with 6 terminal tips
Thank you all for your suggestions. I'll check them all.
Thank you once again.
Cheers,
Sérgio.
2015-06-04 11:35 GMT+01:00 Thomas Püschel :
> Hi Sergio,
>
>
> there you go http://blog.phytools.org/2011/04/new-function-phylpca.html
> http://cran.r-project.org/web/packages/phytools/index.html
>
> b
Hi Anand,
After saving your Newick string in the file 'Anand.tre', I did:
>
source("https://raw.githubusercontent.com/emmanuelparadis/checkValidPhylo/master/checkValidPhylo.R";)
> tr <- read.tree("Anand.tre")
> checkValidPhylo(tr)
Starting checking the validity of tr...
Found number of tips: n