save_sparse_matrix_h5: Save a dgCMatrix to HDF5 format

Description Usage Arguments

View source: R/hdf5.R

Description

Save a dgCMatrix to HDF5 format

Usage

1
2
save_sparse_matrix_h5(mat, out_file, cols_are = "sample_id",
  overwrite = F, compression_level = 0)

Arguments

mat

The matrix to be written

out_file

The HDF5 file to write to

cols_are

Specifies whether columns in the matrix are sample_ids or genes

overwrite

Whether or not to overwrite an existing out_file

compression_level

The data compression level for large HDF5 matrix objects


AllenInstitute/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.