Description Usage Arguments Value Examples
We used a phylogenetic tree of OTUs from a real throat microbiome data set, which consists of 856 OTUs after discarding singleton OTUs. Then based on a complicated statistical meodel, we generated the OTU counts for each individual to simulate the features of real microbiome data.
1 | OTUs_simulated(data, nSam, nOTU, n_repeat, mu, size)
|
data |
Real data. |
nSam |
Sample size. |
nOTU |
The number of OTUs. |
n_repeat |
The number of repeat. |
mu |
The mean of the negative binomial distribution. |
size |
The size of the negative binomial distribution. |
OTU_simulated: OTU counts table simulated based on real data.
1 2 3 4 5 6 | # Import requisite R packages
library(MiSPU)
#Simulated OTUs
data("throat.otu.tab")
otu.tab <- round(OTUs_simulated(data=throat.otu.tab, nSam=100, nOTU=100, n_repeat=10, mu=1000, size=25)$OTU_simulated)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.