tips {rbiom} | R Documentation |
Names of a phylogenetic tree's tips/leafs.
Description
Names of a phylogenetic tree's tips/leafs.
Usage
tips(x)
Arguments
x |
A phylo object, as returned from read.tree.. |
Value
A character vector with the leaf names.
Examples
library(rbiom)
infile <- system.file("extdata", "newick.tre", package = "rbiom")
tree <- read.tree(infile)
leafs <- tips(tree)
subtree <- subtree(tree, head(leafs))
[Package rbiom version 1.0.3 Index]