Hello Manabu, try Ancestors from phangorn. Regards Klaus Am 04.11.2014 08:12 schrieb "Manabu Sakamoto" <manabu.sakam...@gmail.com>:
> Dear list, > > I was wondering if there was an existing function to identify all the nodes > (e.g., phylo$edge[,1]) along a pathway from the root to any given tip. > > I've found Descendants in phangorn, but I only want the node IDs from the > root leading to a given taxon. > > Many thanks, > Manabu > > -- > Manabu Sakamoto, PhD > manabu.sakam...@gmail.com > > [[alternative HTML version deleted]] > > _______________________________________________ > 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/ > [[alternative HTML version deleted]] _______________________________________________ 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/