Reads a feature-barcode matrix folder into a sparse matrix. This folder is output by cellranger and must contain a 'barcodes.tsv.gz', 'features.tsv.gz', and 'matrix.mtx.gz' file.

read_sparse_matrix(folder_path)

Arguments

folder_path

path to folder containing feature-barcode matrix files

Value

mat a sparse matrix with rownames and colnames

See also