unifrac2 | R Documentation |
calculate unifrac of pairwise site. This is based on picante::unifrac, but with phylocomr::ph_pd to calculate pd, which can improve speed dramatically.
unifrac2(comm, tree, comm_long)
comm |
A site by sp data frame, row names are site names. |
tree |
A phylogeny with 'phylo' class. |
comm_long |
A long format of comm, can be missing. |
A site by site distance object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.