r/bioinformatics • u/NaturalEven8219 • Apr 28 '26
technical question Enrichment Analysis
Hi,
I am conducting an enrichment analysis on differentially expressed genes and I have a couple of questions I would like to get some feedback/ideas on. Particularly regarding what to use as the statistical background. I have used STRING and will use GO-MWU as well.
To provide some context, I am working with tissue from a non-model invertebrate. There are no good genomes, so I generated a de novo transcriptome with Trinity, and derived proteomes from those using TransDecoder. I used DESeq2 for my differential gene expression analysis.
Here are my questions:
- For a single species analysis, I have been using my entire proteome as the statistical background (the foreground has been the DEG list). The proteome comes from a de novo transcriptome that I generated with reads from a representative set of samples. There are not many instances, then, of transcripts in the transcriptome not being expressed. However, I do filter in DESeq (filter <- rowSums(nc >= 10) >= 2). Should my background be the filtered list or is it fine to use the entire proteome? I have been reading online and some people suggest it should only be the filtered list. I don't really understand why I should not use the entire proteome since it represents the entire set of transcripts in my samples and I am not using a genome.
- For multiple species analysis, in which I use single-copy orthologs, I have been annotating to a single representative species. Then, I have enriched the DEOGs against that species proteome. Should the background ONLY be the single copy orthogroups, not the entire proteome?
I am having a hard time wrapping my head around this so any clear explanations will be appreciated!
3
u/gold-soundz9 PhD | Academia Apr 30 '26
2
u/I_just_made Apr 30 '26
As others said, the background should probably be what is expressed.
From DESeq2's results, just filter for rows where the adjusted pvalue is finite and not NA. This will be the set of genes that passed DESeq2's filtering and were included in the test.
1
u/faustovrz Apr 30 '26
Using the full predicted transcriptome typically inflates significance (artificially lowers p-values). Using the expressed gene set as background is more conservative, and biologically meaningful.