DelayedSubset: Saving a DelayedSubset

saveDelayedObject,DelayedSubset-methodR Documentation

Saving a DelayedSubset

Description

Save a DelayedSubset object into a HDF5 file. See the “Subsetting” operation at https://artifactdb.github.io/chihaya/ for more details.

Usage

## S4 method for signature 'DelayedSubset'
saveDelayedObject(x, file, name)

Arguments

x

A DelayedSubset object.

file

String containing the path to a HDF5 file.

name

String containing the name of the group to save into.

Value

A NULL, invisibly. A group is created at name containing the contents of the DelayedSubset.

Author(s)

Aaron Lun

Examples

X <- DelayedArray(matrix(runif(100), ncol=20))
Y <- X[1:2,3:5]
temp <- tempfile(fileext=".h5")
saveDelayed(Y, temp)
rhdf5::h5ls(temp)
loadDelayed(temp)


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