Description Usage Arguments Value
Calculate the taxon proportion for all non-rooted nodes in a phylogenetic tree, as well as return the labels for those nodes. The code is adapted from GUniFrac package contributed by Jun Chen (Jun 12, 2015).
1 | cum_prop(otu.tab, tree)
|
otu.tab |
OTU count table. Row - n samples, column - OTUs |
tree |
A rooted phylogenetic tree of R class "phylo". |
A list containing the following elements:
cum |
Taxon proportion for all non-rooted nodes. The nodes are arranged in the same order as the second column of tree$edge. |
br.len |
Branch length for all non-rooted nodes. |
cum.labels |
Labels for all non-rooted nodes. If node.label is not provided by the tree of R class "phylo", we assign "Node k" to the kth node. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.