powered by
getSubTaxa Gets the tip labels from a clade
getSubTaxa
getSubTaxa(node, tree)
A vector containing tip labels of the clade
node number that defines the target clade
phylo object
phylo
# Get taxa from all subtrees data(BiopsyTrees) tree <- BiopsyTrees$trees[[8]] all_subtrees <- lapply(1:length(tree$nodes), function(x)getSubTaxa(x, tree))
Run the code above in your browser using DataLab