ssGSEA 2.0 R Package?
0
2
Entering edit mode
4.4 years ago
ivanarg2 ▴ 80

Hi all. I've recently ran into some trouble using the GSVA package for running ssGSEA (i.e., gsva(data, pathways, method = 'ssGSEA'). Googling a bit revealed a new ssGSEA 2.0 provided by Broad under their Gene Pattern module (see https://github.com/broadinstitute/ssGSEA2.0 and https://gsea-msigdb.github.io/ssGSEA-gpmodule/v10/index.html), and I wonder whether using this new and improved version of ssGSEA will magically resolve my issues.

However, I don't see a ready-made package that I could easily use in RStudio. Does anyone know how to run ssGSEA2.0 / ssGSEA v10 in RStudio? Can I download anything from the GitHub for this purpose?

Many thanks

ssGSEA R • 7.6k views
ADD COMMENT
0
Entering edit mode

The first Github link has explicit instructions. I'd recommend trying them. In all likelihood, you will run into the same issue, so resolving that will likely be the only real solution.

ADD REPLY
0
Entering edit mode

You're probably right, but it's worth a shot. Regarding GitHub, I tried following their instructions, but given that I've never used GitHub before, and that I only use packages from CRAN/BioConductor, I don't know how to implement their instructions. Currently, I'm getting the following error when I try to 'source' their ssgsea-cli.R file: Error in file(filename, "r", encoding = encoding) : cannot open the connection

I've extracted all the files in the GitHub to a director, and set my working dir to this location.

ADD REPLY
0
Entering edit mode

Note: the GUI version works, but I can't use RStudio commands to do a batch of 20 analyses

ADD REPLY
0
Entering edit mode

Well, the CLI script is meant to be use from the command line. If you want to use the function directly, then you need to source these files and read the ssGSEA2.0.R script to determine the ssGSEA2 function parameters.

ADD REPLY
0
Entering edit mode

Got it. I thought the CLI was meant to be used with RStudio commands, but I see that I misinterpreted that. I'll give your advice a shot, and if it doesn't work I'll go back to the original GSVA function and figure out the core issue. Thx for the tips.

ADD REPLY

Login before adding your answer.

Traffic: 1858 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