Entering edit mode
3.4 years ago
charlielonergan
▴
20
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?
Just check the rank of these genes in the ranked data that were input to fgsea, then you know.