read_sparse_matrix: Read a feature-barcode matrix

View source: R/read_sparse_matrix.R

read_sparse_matrixR Documentation

Read a feature-barcode matrix

Description

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.

Usage

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

Other import and export functions: read_celltype_mappings(), read_sce(), write_celltype_mappings(), write_sce(), write_sparse_matrix()


combiz/scFlow documentation built on Feb. 25, 2024, 10:25 a.m.