View source: R/co_occurrence.R
co_occurrence | R Documentation |
A rewrite of the pair-wise Spearman rank co-occurrence routine written by
Jin Choi. The routine has
been adapted to integrate with the Rcpp-package
API.
co_occurrence(phyloseq_obj, treatment = NULL, subset = NULL,
rho = 0, p = 0.05, method = 'spearman', cores = 1)
phyloseq_obj |
A |
treatment |
Column name as a |
subset |
A factor within the |
rho |
|
p |
|
method |
Which correlation method to calculate, "pearson", "spearman". |
cores |
|
data.table
permute_rho
phylosmith
co_occurrence(soil_column, treatment = c('Matrix', 'Treatment'),
subset = 'Amended', rho = 0.8, p = 0.05, cores = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.