Entering edit mode
5 weeks ago
nuorain
▴
30
Hi, I tried to run this code but encounter the error.
gsva_matrix<- gsva(as.matrix(tcga_exp), gene_set,
method='ssgsea',kcdf='Gaussian',abs.ranking=TRUE)
Error in gsva(as.matrix(tcga_exp), gene_set, method = "ssgsea", kcdf = "Gaussian", :
Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva').
Can anyone help me out? Thank you very much. Best J
Which version you are using? As per the documentation, the authors change the API, so you need different command; e.g:
Look into the documentation. https://www.bioconductor.org/packages/release/bioc/manuals/GSVA/man/GSVA.pdf
Hi, thank you for your reply. I am using version 2.0.1. I solved the problem by converting gene_set to gmt file.