DelayedUnaryIsoOpWithArgs: Saving a DelayedUnaryIsoOpWithArgs

saveDelayedObject,DelayedUnaryIsoOpWithArgs-methodR Documentation

Saving a DelayedUnaryIsoOpWithArgs

Description

Save a DelayedUnaryIsoOpWithArgs object into a HDF5 file. See the “Unary ...” operation at https://ltla.github.io/chihaya for more details.

Usage

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

Arguments

x

A DelayedUnaryIsoOpWithArgs 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 DelayedUnaryIsoOpWithArgs.

Author(s)

Aaron Lun

Examples

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


LTLA/DelayedArraySaver documentation built on Oct. 11, 2023, 1:33 p.m.