GSVA error
1
0
Entering edit mode
Alex • 0
@6c5a834f
Last seen 13 days ago
United Kingdom

Hi All

Hope someone can help as it seems GSVA has some issues with other packages (that likely have been updated).

After running the test code below, an error is thrown "Error: [matrixStats (>= 1.2.0)] useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE. See also ?matrixStats::matrixStats.options"

could someone provide insights into potential fixes?

test code

p <- 10000
n <- 1000
sizeGeneSets <- sample(5:500, size=186, replace=TRUE) geneSets <- lapply(as.list(sizeGeneSets), sample, x=paste0("g", 1:p), replace=FALSE) names(geneSets) <- paste0("gs", 1:length(geneSets)) y <- matrix(rnorm(n*p), nrow=p, ncol=n, dimnames=list(paste("g", 1:p, sep="") , paste("s", 1:n, sep=""))) dim(y)

library(GSVA) gsva_es <- gsva(y, geneSets, parallel.sz=2)

sessionInfo( )

R version 4.2.2 (2022-10-31)

GSVA_1.46.0

```

GSVA • 453 views
ADD COMMENT
1
Entering edit mode
Robert Castelo ★ 3.3k
@rcastelo
Last seen 1 day ago
Barcelona/Universitat Pompeu Fabra

Hi,

That error originates in an upstream dependency of GSVA, in matrixStats, concretely after the argument use.names=NA became defunct on December, 11th, 2023 (see here). The solution is to update to the latest release of GSVA and Bioconductor, see https://bioconductor.org/install for details on how to do this.

ADD COMMENT
0
Entering edit mode

Thank you, Robert! The update sorted everything out.

ADD REPLY

Login before adding your answer.

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