Description Usage Arguments Details Value Author(s) See Also Examples
Computes phylogenetic tree depth based from a phylogenetic tree and a vector of (relative) abundances.
1 | tree_depth(tree, abund)
|
tree |
A phylogenetic tree of class 'phylo'. The tip labels must match the row names in the OTU table. Use the function match_data() if the OTU names do not match. |
abund |
A vector or a matrix/data.frame indicating the relative abundances of one or multiple samples, respectively. If a matrix/data.frame is provided, columns must refer to samples and rows to OTUs. |
Tree depth
A tree depth value
Antton Alberdi, anttonalberdi@gmail.com
div_part
, gamma_div
, match_data
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.