Hello  R-sig-phylo,

Thanks for the great software you create.

I have a question about using bind.tree(), or more specifically,
how to attach trees to a particle tip based on the tip_label.

# make some trees
x <- rtree(4, tip.label = LETTERS[1:4])
y <- rtree(4, tip.label = LETTERS[5:8])

#what I would like to do: bind by tip_label
z <- bind.tree(x,y, where=“A”)

the ‘where’ in bind.tree takes an integer value denoting the
node but I can’t seem to find an APE function that will let me
determine the node integer from the tip.label.

Any tips would be greatly appreciated.

Thank You,
zach cp


Zach Charlop-Powers
Post-Doctoral Fellow
Laboratory of Genetically Encoded Small Molecules
Rockefeller University



        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/

Reply via email to