Description Usage Arguments Examples
This function assumes that a user has run Seurat's FindMarkers to assess differential expression between clusters and would like to next run GSEA with hciR's fgsea_all and gene to pathway data from hciRdata.
1 2 3 4 5 6 7 | prep_sc_DE_for_fgsea(
markers = markers,
contrast = NULL,
database = hciRdata::human100,
human_homolog = FALSE,
protein_coding = TRUE
)
|
markers |
Table from Seurat's FindMarkers |
contrast |
The name of the contrast |
database |
Table of genes to use when gathering annotations. Default is hciRdata::human100 |
human_homolog |
Convert the gene names to human homologs. Default is FALSE |
1 2 3 4 5 | ## Not run:
sc_results = prep_sc_DE_for_fgsea(markers = markers, contrast = "cluster 4 vs. cluster 0")
fgsea_all(res = sc_results, gsets = msig_pathways$KEGG, FDR = 0.1, nperm = 10000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.