gsea_feature_enrichment | R Documentation |
Performs gene-set enrichment analysis using the 'fgsea' package.
gsea_feature_enrichment(
gsea_features,
min_features = 15,
max_features = 500,
return_type = "cc2",
...
)
gsea_features |
a GSEA features object |
min_features |
the minimum number of features for an annotation (default = 15) |
max_features |
the maximum number of features for an annotation (default = 500) |
return_type |
what type of object should be returned? ("cc2" or "fgsea") |
... |
other 'fgsea' options |
The runtime is dependent on the maximum size of the provided annotation, so the authors of 'fgsea' recommend a maximum size of 500. In addition, to calculate statistics, a minimum size of annotated features are required. Going below 15 may not be advised. If you want to use other 'fgsea' functions, it is recommended to set 'return_type = "fgsea"'. Otherwise, you should keep the default of "cc2".
enriched_result
fgsea::fgsea
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.