Learn R Programming

HDF5Array (version 1.0.2)

cbind-methods: Bind DelayedArray objects along their rows or columns

Description

Methods for binding DelayedArray objects along their rows or columns.

Arguments

Details

rbind and cbind methods are defined for DelayedArray objects. They perform delayed binding along the rows (rbind) or columns (cbind) of the objects passed to them.

See Also

Examples

Run this code
library(rhdf5)
toy_h5 <- system.file("extdata", "toy.h5", package="HDF5Array")
h5ls(toy_h5)

M1 <- HDF5Array(toy_h5, "M1")
M2 <- HDF5Array(toy_h5, "M2")

M <- rbind(M1, t(M2))
M
colMeans(M)

Run the code above in your browser using DataLab