Write a feature-barcode matrix into a folder with .gz compressed files. This folder contains 'barcodes.tsv.gz', 'features.tsv.gz',and 'matrix.mtx.gz'.

write_sparse_matrix(mat, folder_path, overwrite_files = TRUE)

Arguments

mat

a matrix

folder_path

path to save the feature barcode matrix files

overwrite_files

set to TRUE to overwrite files if they already exist.

See also