This is a test version of Biostars. For the public version, visit https://www.biostars.org.
GSEA for scRNA-seq

I want to run GSEA on my scRNA-seq data using cluster markers. I want to compare enrichment scores for gene sets and pathways across clusters in my data. I used Seurat FindAllMarkers to find DEGs for each cluster (cluster of interest vs all remaining cells). For GSEA, I want to use only DEGs with adj p-value < 0.05. As GSEA takes expression data as input, I need to find average expressions of significant DEGs per cluster and make a txt file with counts for each gene across the clusters.

But as I am dealing with DEGs, they will be different for each cluster. How should I impute data for those DEGs which are significant for cluster A but not significantly differentially expressed in cluster B (but still somehow expressed)?

gsea scrna-seq seurat

"For GSEA, I want to use only DEGs with adj p-value < 0.05"

You can't do that. For GSEA, you have to use all genes (supplied with their expression data), not just the DEGs.

You'd have to use pathway overrepresentation analysis (e.g. as typically done in gene ontology enrichment) if you want to only use the DEGs.

thank you very much for your comment. So, if I want to use GSEA and compare enrichment across clusters, I basically should input the average expression of all genes per cluster, right?

I have seen in scRNA-seq analysis papers that the authors filtered out insignificant DEGs. For example, this Nature publication:

DEGs were ranked for gene-set enrichment analysis (GSEA) according to: rank=−10×log10(padj)×sgn[log2(foldchange)]. A subset of 784 housekeeping genes related to translation and ribosomal RNA transcription and processing (listed in Supplementary Table 2) were excluded from ranked DEGs before GSEA.

That only specifies that a subset of genes were removed, rather than all genes that were not significantly differentially expressed.

You posted a similar question yesterday. Try to keep discussion in one post.

0 answers

No answers yet.

Log in to answer this question.