Browse code

Fixed wrong call to .mapGeneSetsToFeatures when gene sets are given in a GeneSetCollection object.

Robert Castelo authored on 03/02/2021 12:32:10
Showing 2 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: GSVA
2
-Version: 1.39.13
2
+Version: 1.39.14
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"),
... ...
@@ -232,7 +232,7 @@ setMethod("gsva", signature(expr="SummarizedExperiment", gset.idx.list="GeneSetC
232 232
   }
233 233
 
234 234
   ## map to the actual features for which expression data is available
235
-  mapped.gset.idx.list <- .mapGeneSetsToFeatures(gset.idx.list, rownames(expr))
235
+  mapped.gset.idx.list <- .mapGeneSetsToFeatures(mapped.gset.idx.list, rownames(expr))
236 236
 
237 237
   ## remove gene sets from the analysis for which no features are available
238 238
   ## and meet the minimum and maximum gene-set size specified by the user
... ...
@@ -428,7 +428,7 @@ setMethod("gsva", signature(expr="ExpressionSet", gset.idx.list="GeneSetCollecti
428 428
   }
429 429
 
430 430
   ## map to the actual features for which expression data is available
431
-  mapped.gset.idx.list <- .mapGeneSetsToFeatures(gset.idx.list, rownames(expr))
431
+  mapped.gset.idx.list <- .mapGeneSetsToFeatures(mapped.gset.idx.list, rownames(expr))
432 432
   
433 433
   ## remove gene sets from the analysis for which no features are available
434 434
   ## and meet the minimum and maximum gene-set size specified by the user
... ...
@@ -488,7 +488,7 @@ setMethod("gsva", signature(expr="matrix", gset.idx.list="GeneSetCollection"),
488 488
   }
489 489
   
490 490
   ## map to the actual features for which expression data is available
491
-  mapped.gset.idx.list <- .mapGeneSetsToFeatures(gset.idx.list, rownames(expr))
491
+  mapped.gset.idx.list <- .mapGeneSetsToFeatures(mapped.gset.idx.list, rownames(expr))
492 492
   
493 493
   ## remove gene sets from the analysis for which no features are available
494 494
   ## and meet the minimum and maximum gene-set size specified by the user