Skip to contents

Read count matrix from 10X CellRanger hdf5 file. This can be used to read both scATAC-seq and scRNA-seq matrices.

Usage

Read10X_h5(filename, use.names = TRUE, unique.features = TRUE)

Arguments

filename

Path to h5 file

use.names

Label row names with feature names rather than ID numbers.

unique.features

Make feature names unique (default TRUE)

Value

A sparse matrix with rows and columns labeled. Multiple feature types return a named list of matrices; legacy multi-genome files return one entry per genome.