Description Usage Arguments Note
View source: R/sim_community.R
Simulate count data from various theoretical distributions
1 2 | sim_counts(n = 1, mu, Sigma = NULL, method = "ZINB", negscheme = exp,
targetneff, ...)
|
n |
-> number of samples |
mu |
-> vector of 'OTU' means across samples |
Sigma |
-> positive definite matrix, one will be generated if not provided |
negscheme |
-> function to deal with negative values (for method MVLN data) |
required: length(mu) == nrow(Sigma) == ncol(Sigma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.