View source: R/04_simulation.R
simulate_DM | R Documentation |
Title: Simulate Dirichlet-Multinomial Regression Model
simulate_DM( n_obs = 100, n_vars = 30, n_taxa = 75, n_relevant_vars = 4, n_relevant_taxa = 4, beta_min = 1, beta_max = 1.25, signoise = 1, n_reads_min = 5000, n_reads_max = 10000, theta0 = 0.01, rho = NULL, Sigma = NULL )
n_obs |
|
n_vars |
|
n_taxa |
|
n_relevant_vars |
|
n_relevant_taxa |
|
beta_min |
|
beta_max |
|
signoise |
|
n_reads_min |
|
n_reads_max |
|
rho |
|
Sigma |
|
A list of outcomes including:
X = XX
Y = YY
alphas = intercept,
betas = betas,
n_reads_min = n_reads_min,
n_reads_max = n_reads_max,
theta0 = theta0,
phi = phi,
rho = rho,
signoise = signoise,
Sigma = Sigma
Taken from Wadsworth (2017) An integrative Bayesian Dirichlet-Multinomial regression model for the analysis of taxonomic abundances in microbiome data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.