fgsea leading edge genes
1
2
Entering edit mode
3.4 years ago

I'm using fgsea to find enriched genes/pathways. The returned leading edges contain many overlapping genes, which I understand. What I don't understand is that many seem to be in the same order. Are the leading edges arranged by significance?

E.g.

 [1] "RPLP0"  "RPS2"   "RPL28"  "RPS17"  "RPL13A" "RPL4"   "RPS8"   "RPL39"  "RPL32"  "RPS18"  "RPS19"  "RPS16" 
[13] "RPSA"   "RPL8"   "RPS23"  "RPLP1"  "RPL24"  "RPL19"  "RPL27A" "RPS5"   "RPL37A" "RPL34"  "RPS29"  "RPL3"

Can I assume that RPLP0 is the "top" gene in this leading edge? Or is the order arbitrary?

gsea • 1.5k views
ADD COMMENT
0
Entering edit mode

Just check the rank of these genes in the ranked data that were input to fgsea, then you know.

ADD REPLY
0
Entering edit mode
12 months ago
Yuri ★ 1.7k

I asked the same question myself. I looked at the code of calcGseaStat function in fgsea package, and it appears that leading edge genes are in the same order as in the input data.

So, no, the first leading edge gene is not necessary the "top" gene.

ADD COMMENT

Login before adding your answer.

Traffic: 1806 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6