View source: R/GeneExpression_sim.R
GeneEffects | R Documentation |
This function randomly generates the effect size of each cif on the dynamic expression parameters
GeneEffects(ngenes, ncif, randseed, prob, geffect_mean, geffect_sd)
ngenes |
number of genes |
ncif |
number of cifs |
prob |
the probability that the effect size is not 0 |
geffect_mean |
the mean of the normal distribution where the non-zero effect sizes are dropped from |
geffect_sd |
the standard deviation of the normal distribution where the non-zero effect sizes are dropped from |
randomseed |
(should produce same result if ngenes, ncif and randseed are all the same) |
a list of 3 matrices, each of dimension ngenes * ncif
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.