Entering edit mode
9 hours 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