TODO.md

rows <- sample(nrow(x), 10000)
elements <- DelayedArray:::to_linear_index(list(rows, NULL), dim(x))

system.time(a <- as.matrix(fstarray_no_compression[rows, ]))
system.time(b <- matrix(fstarray_no_compression[elements], ncol = ncol(x),
                        dimnames = list(NULL, colnames(x))))
all.equal(a, b)


PeteHaitch/fstArray documentation built on May 5, 2019, 12:27 p.m.