IOBR / IOBR

IOBR is an R package to perform comprehensive analysis of tumor microenvironment and signatures for immuno-oncology.
https://iobr.github.io/book/
GNU General Public License v3.0
204 stars 53 forks source link

Error in IOBR::calculate_sig_score() -- GSVA::gsva() defunc #71

Open AimSchina opened 5 months ago

AimSchina commented 5 months ago

Hi,

The IOBR::calculate_sig_score() function no longer works with R version 4.4.0, Bioconductor release 3.19. Particularly the function calculate_sig_score_ssgsea() fails because the previous GSVA API is defunc:

Error in GSVA::gsva(expr = bulkExp, gset.idx.list = signatures, method = statMethod, : Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva'). as you can see also here: https://github.com/rcastelo/GSVA/issues/172

Would it be possible to update the IOBR package so that it works with the newest Bioconductor release?

Thank you!

Mincana-Huang commented 1 month ago

I encountered the same problem. This seems to be caused by the update of GSVA package. I switched to GSVA 1.50 version and it solved the problem. I hope the author will update it as soon as possible to adapt to the GSVA package.

CC-DrDU commented 1 month ago

For those who encountered the same problem, you can download the source package of GSVA (https://bioconductor.org/packages/3.18/bioc/src/contrib/GSVA_1.50.5.tar.gz) from bioconductor and install it in your environment. Once you loaded this version of GSVA, the problem could be bypassed.