suppressPackageStartupMessages({
suppressMessages({
library(rhdf5client)
library(DelayedArray)
})
})

Using the DelayedArray infrastructure

A remote dataset is accessed by giving the URL of the server, the type of the server (At present the only valid value is hsds.), the file domain (path to the HDF5 file) and the full path to the dataset inside the HDF5 file.

Interface to HSDS (HDF Object Store)

da <- HSDSArray('http://hsdshdflab.hdfgroup.org', 'hsds', 
      '/shared/bioconductor/tenx_full.h5', '/newassay001')
da

Again we have DelayedArray capabilities.

apply(da[,1:4],2,sum)


sampoll/rhdf5client documentation built on June 4, 2019, 6:56 p.m.