Skip to content

Commit

Permalink
Merge pull request #757 from joshua-d-campbell/devel
Browse files Browse the repository at this point in the history
more GSVA fixes
  • Loading branch information
joshua-d-campbell authored Apr 30, 2024
2 parents 5b9f667 + 4c5ac48 commit 744487d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: singleCellTK
Type: Package
Title: Comprehensive and Interactive Analysis of Single Cell RNA-Seq Data
Version: 2.13.2
Version: 2.13.3
Authors@R: c(person(given="Yichen", family="Wang", email="[email protected]", role=c("aut"),
comment = c(ORCID = "0000-0003-4347-5199")),
person(given="Irzam", family="Sarfraz", email="[email protected]", role=c("aut"),
Expand Down Expand Up @@ -62,7 +62,7 @@ Imports:
ggrepel,
ggtree,
gridExtra,
GSVA (>= 1.26.0),
GSVA (>= 1.50.0),
GSVAdata,
igraph,
KernSmooth,
Expand Down
2 changes: 1 addition & 1 deletion R/runGSVA.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runGSVA <- function(inSCE, useAssay = "logcounts",

message(date(), " ... Running GSVA")

gsvaData <- as.matrix(expData(sce, useAssay))
gsvaData <- as.matrix(expData(inSCE, useAssay))
gsvaPar <- GSVA::gsvaParam(gsvaData, gene.Set)
gsvaRes <- t(GSVA::gsva(gsvaPar))

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-pathway.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test_that(desc = "Testing VAM", {
})

test_that(desc = "Testing GSVA", {
sce <- runGSVA(sce, geneSetCollectionName = "GeneSetCollection")
sce <- runGSVA(sce, geneSetCollectionName = "GeneSetCollection", useAssay = "logcounts")
testthat::expect_true("GSVA_GeneSetCollection_Scores" %in% reducedDimNames(sce))

gsvaPlot <- plotPathway(sce, resultName = "GSVA_GeneSetCollection_Scores",
Expand Down

0 comments on commit 744487d

Please sign in to comment.