I am using sign(log2(FC))*-log(p value) to generate a rank for genes obtained from single cell RNA sequencing analysis for input into GSEA.
I would like to check that the individual values for ranking are not important (as long as classic is selected, where weighting = 1), but what is relevant is that the rank produces a gene order and that the genes at the top and bottom of the list are more important that the ones in the middle.
Because some of the p values are so small (less than 10^-312), some of the rankings are calculated to be -Inf and Inf which cannot be processed by GSEA. Several posts
(https://www.biostars.org/p/276783/, https://www.biostars.org/p/343383/, https://www.biostars.org/p/297029/) suggest replacing the Inf and -Inf values with a number larger/smaller than the maximum/minimum values already present in the ranking. Is this an appropriate approach? Does it matter what this value is?
Thank you
Alena
Hi Alena,
If you set the Enrichment statistic to “classic” the ranking value is not directly used in the computation, only the positions in the gene lists are used. I should mention here that we don’t recommend this procedure.
I don’t know what tool you’ve used to calculate your differential expression, but if you have access to the test statistic column (may be called wald stat, test stat, or similar) I’d use that over the ranking formula you’ve proposed, and using the weighted enrichment statistic. If not, then using the n+max/n-min arbitrary assignments like you’ve suggested, while not ideal, is also what I’d do in your situation.
-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/08a7b72f-19ca-4d5a-a736-641aa1340f0dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gsea-help/cc18dde7-f45f-4c4c-abe3-3e1603cd45d3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gsea-help/7898ce96-37d5-4d4e-b59c-e27e149fc217n%40googlegroups.com.
--
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/5444ab7d-0d96-487b-8293-aa2db5745a8dn%40googlegroups.com.