loadDelayed: Load a DelayedMatrix

View source: R/loadDelayed.R

loadDelayedR Documentation

Load a DelayedMatrix

Description

Load a DelayedMatrix object from a location within a HDF5 file.

Usage

loadDelayed(file, path = "delayed")

Arguments

file

String containing a path to a HDF5 file.

path

String containing a path inside a HDF5 file containing the DelayedMatrix.

Value

A DelayedMatrix containing the contents at path.

Author(s)

Aaron Lun

See Also

knownOperations and knownArrays, to modify the loading procedure.

Examples

library(HDF5Array)
X <- rsparsematrix(100, 20, 0.1)
Y <- DelayedArray(X)
Z <- log2(Y + 1)

temp <- tempfile(fileext=".h5")
saveDelayed(Z, temp)
loadDelayed(temp)


LTLA/DelayedArraySaver documentation built on Sept. 19, 2024, 1:37 p.m.