Description Usage Arguments Details Value See Also Examples
Extends the simStudy
function to generate a list of OTU tables according to a specified range of group-level effects.
1 2 3 |
group_size_vector |
numeric vector representing subjects per exposure/intervention group |
otu_number |
number of simulated OTUs |
sequence_depth |
number of sequence counts per OTU bin |
rare_depth |
proportion of sequence counts to retain after subsampling |
effect_range |
range of proportions of unique community membership in affected group of subjects |
For weighted analysis, specify a sequence depth greater than 1; for unweighted analyses, sequence depth is 1 (default).
list of two-dimensional-matrix OTU tables, with row and column names to suit downstream analysis
simStudy
, calcUJstudy
, calcWJstudy
1 2 | simPower(c(16,16,16),100,10,0.8,seq(0,0.3,length.out=100))
sapply(simPower(c(16,16,16),100,10,0.8,seq(0,0.3,length.out=100)),FUN=function(x) {calcOmega2(calcWJstudy(x))})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.