write_sparse_matrix: Write a feature-barcode matrix

View source: R/write_sparse_matrix.R

write_sparse_matrixR Documentation

Write a feature-barcode matrix

Description

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'.

Usage

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

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


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