
Last chance! 50% off unlimited learning
Sale ends in
working with systematic reference tables and phylogenies
# S3 method for phylo
subset(x, taxonomy, rank="", ncores=1, ...)
a phylogenetic tree of class 'phylo'
a ('matrix') linkage table between tips of the phylogeny and clades represented in the tree; rownames of 'taxonomy' should be tips found in the phylogeny
a column name in 'taxonomy' at which to resample the tree (see Examples)
max number of cores to use
arguments to be passed to other functions (has no effect in the present context)
JM Eastman
if (FALSE) {
sal <- get(data(caudata))
print(head(sal$tax))
nphy <- subset(sal$phy, sal$tax, "genus", ncores=1)
plot(nphy, type="fan", cex=0.15)
}
Run the code above in your browser using DataLab