h5_list_add_dgCMatrix: Add a sparse matrix to an h5_list containing 10x genomics...

Description Usage Arguments Value

View source: R/filter_rna_h5.R

Description

Add a sparse matrix to an h5_list containing 10x genomics data

Usage

1
h5_list_add_dgCMatrix(h5_list, mat, target)

Arguments

h5_list

a list object, usually generated by running rhdf5::h5dump() on a 10x HDF5 file.

mat

a dgCMatrix to add to the h5_list

target

a character object specifying the location within the list to write to.

Value

a list object with the additional matrix added similar to 10x HDF5 matrix format.


AllenInstitute/BarMixer documentation built on Dec. 17, 2021, 8:42 a.m.