-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Hello,
I am trying to run the escape package through another R package . Our automated testing recently began to fail. The failure has something to do with the interaction with GSVA or perhaps something about the matrix-related packages.
- Our code calls RunEscape():
Line 118 in 5eae8bd
.compute_enrichment(mat, egc, method, BPPARAM, ...), - This calls GSEA here:
Line 400 in 5eae8bd
param <- .build_gsva_param(expr, gene_sets, "ssGSEA") - The failing code in GSEA is here: https://github.com/rcastelo/GSVA/blob/13f832d105c9a52b7bc26f05176254876a59f4d8/R/utils.R#L134
- I am running this with BPPARAM=NULL
The stacktrace for the error is below. Have you encountered anything like this? Thanks in advance for any debugging ideas.
2025-11-17T21:37:47.7458777Z Error ('test-escape.R:24:5'): escape works as expected
2025-11-17T21:37:47.7458917Z <bplist_error/bperror/error/condition>
2025-11-17T21:37:47.7459310Z ##[error]Error: BiocParallel errors
2025-11-17T21:37:47.7459490Z 1 remote errors, element index: 1
2025-11-17T21:37:47.7459620Z 1 unevaluated and other errors
2025-11-17T21:37:47.7459731Z first remote error:
2025-11-17T21:37:47.7460398Z ##[error]Error in .filterGenes(dataMatrix, removeConstant = removeConstant, removeNzConstant = removeNzConstant, : nrow(nzGeneRanges) == nrow(expr) is not TRUE
2025-11-17T21:37:47.7460409Z
2025-11-17T21:37:47.7460511Z Backtrace:
2025-11-17T21:37:47.7460597Z ▆
2025-11-17T21:37:47.7460888Z 1. ├─testthat::expect_warning(...) at test-escape.R:24:5
2025-11-17T21:37:47.7461194Z 2. │ └─testthat:::quasi_capture(...)
2025-11-17T21:37:47.7461400Z 3. │ ├─testthat (local) .capture(...)
2025-11-17T21:37:47.7461611Z 4. │ │ └─base::withCallingHandlers(...)
2025-11-17T21:37:47.7461906Z 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
2025-11-17T21:37:47.7462091Z 6. └─CellMembrane::RunEscape(...)
2025-11-17T21:37:47.7462318Z 7. └─CellMembrane:::.RunEscapeOnSubset(...)
2025-11-17T21:37:47.7462495Z 8. └─escape::runEscape(...)
2025-11-17T21:37:47.7462687Z 9. └─escape::escape.matrix(...)
2025-11-17T21:37:47.7462873Z 10. └─escape:::.plapply(...)
2025-11-17T21:37:47.7463185Z 11. ├─BiocParallel::bplapply(X, FUN, ..., BPPARAM = BPPARAM)
2025-11-17T21:37:47.7463473Z 12. └─BiocParallel::bplapply(X, FUN, ..., BPPARAM = BPPARAM)
2025-11-17T21:37:47.7463691Z 13. └─BiocParallel:::.bpinit(...)
Metadata
Metadata
Assignees
Labels
No labels