save_for_10X: Store 10X data

Description Usage Arguments

Description

Store the expression matrix as a sparse matrix for easy loading with the read10X function in Seurat

Usage

1
save_for_10X(x, save_dir, batch_size = 2000, gene_name = NULL, gene_col = NULL)

Arguments

x

a data.table with the column names being the cell IDs

gene_name

a list of genes for the expression matrix

gene_col

a column in the expression matrix


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.