Browse code

changing function viewReduce for gridReduce from DelayedArray

pablo-rodr-bio2 authored on 18/11/2021 08:36:13
Showing3 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: GSVA
2
-Version: 1.41.4
2
+Version: 1.41.5
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"),
... ...
@@ -58,7 +58,7 @@ importFrom(DelayedArray, rowAutoGrid,
58 58
 			  defaultAutoGrid,
59 59
 			  currentBlockId,
60 60
 			  read_block, 
61
-			  viewportReduce,
61
+			  gridReduce,
62 62
 			  write_block,
63 63
 			  close,
64 64
 			  t)
... ...
@@ -139,7 +139,7 @@ rankHDF5 <- function(X){
139 139
     write_block(sink, grid, block)
140 140
   }
141 141
   
142
-  sink <- viewportReduce(colRanks_byBlock, grid, sink)
142
+  sink <- gridReduce(colRanks_byBlock, grid, sink)
143 143
   close(sink)
144 144
   res <- as(sink, "DelayedArray")
145 145
   res