sim_fisher | R Documentation |
fisher_enrichment
to simulated dataApply fisher_enrichment
to simulated data.
sim_fisher(
G,
feat.tab,
grp,
effect.v = c(0, 0.2),
alpha = 0.2,
nsim = 99,
test.ft = TRUE,
seed = 1,
verbose = FALSE
)
G |
Gene set list as returned from |
feat.tab |
Table of feature (e.g. gene) statistics that the Excel table can link to. |
grp |
Vector of sample groups. These must be valid variable names in R and the same length as
|
effect.v |
Numeric vector of log fold-changes or percent of phentotypes to add. |
alpha |
Alpha level. |
nsim |
Number of simulations. |
test.ft |
Compare to |
seed |
Random seed for reproducibility. |
verbose |
Logical; should the number of simulations be printed every 100 simulations? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.