R/pathway_analysis.R
comparegsea_scatter.Rd
Generate a scatter plot of normalized enrichment scores comparing two results for gene set enrichment analysis, e.g. w/wo adjusting for cell proportion differences.
comparegsea_scatter(
gseares_path1,
gseares_path2,
result_names = NULL,
nes_cutoff = 2,
pval_cutoff = 0.1,
pvalflag = TRUE,
interactive = FALSE
)
path to GSEA output.
path to a second GSEA output.
a vector of length 2 indicating the names of the two GSEA results. If NULL, names will be set to c("results1", "results2")
normalized enrichment score cutoff to identify enriched gene-sets.
p value cutoff to identify enriched gene-sets.
a logical value indicating whether to use adjusted p value in selecting enriched gene-sets. Default to TRUE.
a logical value indicating whether to generate an interactive plot. Default to FALSE.
this function does not support output from GSEA R implementation