View source: R/UniFrac.multi.R
UniFrac.multi | R Documentation |
UniFrac
multiple times in parallel and take the averageWith unrooted phylogenies UniFrac
sets the root randomly on the tree. The position of the root affects the results.
The function runs UniFrac multiple times, with different roots, and takes the average to smooth potential bias.
UniFrac.multi(physeq, R = 100, seed = 42, cores = 1, ...)
physeq |
Phyloseq object. Required |
R |
Number of times to repeat calculation. Default 100 |
seed |
Random seed for reproducibility. Default 42 |
cores |
Number of cores to use for parallel computing. Default 1 aka not parallel |
... |
Additional arguments passed to the |
A distance object with the average UniFrac
distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.