DelayedNaryIsoOp: Saving a DelayedNaryIsoOp

saveDelayedObject,DelayedNaryIsoOp-methodR Documentation

Saving a DelayedNaryIsoOp

Description

Save a DelayedNaryIsoOp object into a HDF5 file. See the “Binary ...” operations at https://ltla.github.io/chihaya for more details.

Usage

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

Arguments

x

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

Author(s)

Aaron Lun

Examples

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


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