View source: R/CMAP_style_gsea.R
enrichmentFactorForDataFrame | R Documentation |
Calculate enrichment factor from a dataframe by rank cutoff.
enrichmentFactorForDataFrame(
data,
enrich_element,
rank_by,
cutoff = 0.05,
min_count = 3,
psc = 1
)
data |
input data frame |
enrich_element |
category column from data to enrich |
rank_by |
column used to sort rank |
cutoff |
cut percentile. default 0.05 |
min_count |
minimum count to be valid. default 3 |
psc |
pseudocount when caclulating enrichment. default 1 |
dataframe of named vectors for each category
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.