Hi Candice,
GSEA's background is restricted to the genes in the ranked list, this is why it is important to not use pValue cutoffs when preparing the ranked list. All the genes for which a test statistic is available should be provided.
To the best of my understanding there isn't really a good way to correct for detection bias in the original experiment in the context of enrichment analysis – if your experiment consists of primarily astrocytes, astrocytic pathways are what is going to be assessed. However, GSEA will not introduce a bias with respect to the overrepresentation of specific cell-type genes with respect to the genomic background as GSEA is not aware of the genomic background, only the background of the experiment specific expressed gene universe.
You would want to use the sign of the log2fc here, yes. This allows GSEA to compute up and downregulated pathways separately. In fact, while using the sign of the logfc*-log10(pvalue) is common, it's also quite common to run GSEA with just the log2FC as the metric. In the standard, (i.e. non-preranked) mode of GSEA, the signal to noise ratio is used. This scales the difference in the changes between the two groups by the sum of the standard deviations. You might want to consider an alternative statistic that introduces more information like this into the gene ranking. What are you using to compute differential expression here? If it's something like DESeq2 it might return a test statistic that could be used directly in GSEA.
While I can't speak to the specifics of SetRank, from my understanding it has a similar approach taking in a list of all genes for which there is a statistic available. It might be worthwhile to do a comparative analysis of the results from both tools!
Let me know if you have any additional questions
-Anthony
Anthony S. Castanza, PhD
Curator, Molecular Signatures Database
Mesirov Lab, Department of Medicine
University of California, San Diego
--
You received this message because you are subscribed to the Google Groups "gsea-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
gsea-help+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/gsea-help/69b3b072-4dac-4e89-8d34-68dc880ec6d8n%40googlegroups.com.