Run fgsea for one cell type of one factor
run_fgsea(
container,
factor_select,
ctype,
db_use = "GO",
signed = TRUE,
min_gs_size = 15,
max_gs_size = 500,
ncores = container$experiment_params$ncores
)
A data.frame of the fgsea results for enrichment of gene sets in a given cell type for a given factor. The results contain adjusted p-values, normalized enrichment scores, leading edge genes, and other information output by fgsea.
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses
numeric The factor of interest
character The cell type of interest
character The database of gene sets to use. Database options include "GO", "Reactome", "KEGG", "BioCarta", and "Hallmark". More than one database can be used. (default="GO")
logical If TRUE, uses signed gsea. If FALSE, uses unsigned gsea. Currently only works with fgsea method. (default=TRUE)
numeric Minimum gene set size (default=15)
numeric Maximum gene set size (default=500)
numeric The number of cores to use (default=container$experiment_params$ncores)