View source: R/simulation_functions.R
GeneEffects | R Documentation |
This function randomly generates the effect size of each evf on the dynamic expression parameters
GeneEffects(
ngenes,
nevf,
randseed,
prob,
geffect_mean,
geffect_sd,
evf_res,
is_in_module
)
ngenes |
number of genes |
nevf |
number of evfs |
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 |
evf_res |
the EVFs generated for cells |
is_in_module |
a vector of length ngenes. 0 means the gene is not in any gene module. In case of non-zero values, genes with the same value in this vector are in the same module. |
randomseed |
(should produce same result if ngenes, nevf and randseed are all the same) |
a list of 3 matrices, each of dimension ngenes * nevf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.