Description Usage Arguments Details Value References
Subsets a distance matrix.
1 | subset_dist(physeq, d.matrix)
|
physeq |
An experiment level phyloseq object. |
d.matrix |
A distance matrix. |
Some distance matrices take a long time to calculate for large data sets. This is especially true of unifrac and generalized unifrac distances calculated by GUniFracs. If distances are first calculated from data in a large experiment level phyloseq object and then it is desired to perform PERMANOVA (with adonis) on a subset of that object, this function provides a means of sub-setting the distance matrix so that it does not have to be calculated again for the subset data. The arguments are the distance matrix for the original phyloseq object and the smaller phyloseq object subset from the original.
A distance matrix of smaller dimensions.
Chen J, Bittinger K, Charlson ES et al. (2012) Associating microbiome composition with environmental covariates using generalized UniFrac distances. Bioinformatics, 28, 2106-2113.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.