Help with understanding the ssGSEA computations #173
-
Hi, I'm basically trying to replicate the results of ssGSEA with my own code and have not been able to. I was wondering if you guys could help me and point out what I'm missing. My pipeline is as follows,
My results are the same as when I use the gseapy functions with this pipeline. However, the result is different from when I run the single ssgsea() function, which means I must be missing a step. I haven't been able to follow the code in this repo all the way through because I'm unable to find the gseapy.gse file, which the ssgsea() function calls. It's a ".so" file on my computer and won't open. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The code you'er looking for is here(line 668 - 687) Line 668 in cbcb701 in short, the Rust implementation add z_score normalization step as ssGSEA did. see the line comments. The |
Beta Was this translation helpful? Give feedback.
The code you'er looking for is here(line 668 - 687)
GSEApy/src/stats.rs
Line 668 in cbcb701
in short, the Rust implementation add z_score normalization step as ssGSEA did. see the line comments.
The
enrichment_score()
did not do the z-score normalization. That's the only difference between the two