h5_list_convert_to_dgCMatrix: Convert the matrix in an h5_list from 10x Genomics data to a...

Description Usage Arguments Value

View source: R/filter_rna_h5.R

Description

This is very useful for subsetting the matrix based on column names.

Usage

1
h5_list_convert_to_dgCMatrix(h5_list, target = "matrix", feature_names = "id")

Arguments

h5_list

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

target

the group name for the sparse matrix. Default is "matrix", which is used by 10x.

feature_names

the group name in target/features to use for rownames. Must be either "id" or "name". Default is "id".

Value

a list object


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