DelayedSetDimnames: Saving a DelayedSetDimnames

saveDelayedObject,DelayedSetDimnames-methodR Documentation

Saving a DelayedSetDimnames

Description

Save a DelayedSetDimnames object. See the “Dimnames assignment” operation at https://ltla.github.io/chihaya for more details.

Usage

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

Arguments

x

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

Author(s)

Aaron Lun

Examples

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


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