Browse code

Bump version in release after bugfix ported from devel

[rcastelo] authored on 09/06/2022 14:21:42
Showing2 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: GSVA
2
-Version: 1.44.1
2
+Version: 1.44.2
3 3
 Title: Gene Set Variation Analysis for microarray and RNA-seq data
4 4
 Authors@R: c(person("Justin", "Guinney", role=c("aut", "cre"), email="justin.guinney@sagebase.org"),
5 5
              person("Robert", "Castelo", role="aut", email="robert.castelo@upf.edu"),
... ...
@@ -206,7 +206,7 @@ setMethod("gsva", signature(expr="SummarizedExperiment", gset.idx.list="GeneSetC
206 206
     if (!annotation %in% names(assays(se)))
207 207
       stop(sprintf("Assay %s not found in the input SummarizedExperiment object.", annotation))
208 208
   }
209
-  expr <- assays(se)[[annotation]]
209
+  expr <- as.matrix(assays(se)[[annotation]])
210 210
 
211 211
   ## filter genes according to verious criteria,
212 212
   ## e.g., constant expression
... ...
@@ -296,7 +296,7 @@ setMethod("gsva", signature(expr="SummarizedExperiment", gset.idx.list="list"),
296 296
     if (!annotation %in% names(assays(se)))
297 297
       stop(sprintf("Assay %s not found in the input SummarizedExperiment object.", annotation))
298 298
   }
299
-  expr <- assays(se)[[annotation]]
299
+  expr <- as.matrix(assays(se)[[annotation]])
300 300
 
301 301
   ## filter genes according to verious criteria,
302 302
   ## e.g., constant expression