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)
path to folder containing feature-barcode matrix files
mat a sparse matrix with rownames and colnames
Other import and export functions:
read_celltype_mappings()
,
read_sce()
,
write_celltype_mappings()
,
write_sce()
,
write_sparse_matrix()