View source: R/build_references.R
build_simulated_reference | R Documentation |
Generate simulated differential expression for two conditions
build_simulated_reference( p = 1000, log_mean = 1, log_var = 4, perturb_size = 0.5, base_correlation = NULL, concentration = 1e+06, save_name = NULL )
p |
number of features (genes, taxa) to simulate |
log_mean |
log mean for condition 1 |
log_var |
log variance for condition 1 |
perturb_size |
percent of the log mean to use (on average) as the size of the noise component added to condition 1 to give condition 2 |
base_correlation |
this is the base correlation matrix for simulated features in log space |
concentration |
concentration parameter for sampling the correlation across feature; if base_correlation is NULL and concentration = LARGE, features are effectively independent |
save_name |
optional tag to append to saved data file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.