mtx_to_h5: Saves matrix to .h5 format quickly

View source: R/mtx_to_h5.R

mtx_to_h5R Documentation

Saves matrix to .h5 format quickly

Description

Saves matrix to .h5 format quickly

Usage

mtx_to_h5(object, filename, datasetname = "counts", ...)

Arguments

object

input matrix (or maybe even data frame) - can be sparse or dense, but this is to sort the problem with dense matrices

filename

name of the h5 object to save to

datasetname

name of dataset

...

pass to rhdf5 associated functions

Value

Save large (dense) matrix to .h5 format

Examples

mtx_to_h5(matrixA, "matrix.h5")
mtx_to_h5totxt(matrixA, "matrix.h5")

zktuong/kelvinny documentation built on July 18, 2024, 10:42 a.m.