Function to write Seurat counts matrix to csv.
save_seurat_counts_matrix.Rd
Function to write Seurat counts matrix to csv.
Usage
save_seurat_counts_matrix(
seurat_obj,
proj_name = "",
label = "",
out_dir = ".",
assay = "RNA",
slot = "data",
log_file = NULL
)
Arguments
- seurat_obj
A Seurat object.
- proj_name
Name of the project that will be the prefix of the file name.
- label
An optional label for the file.
- out_dir
Directory in which to save csv.
- assay
The assay within the Seurat object to retrieve data from.
- slot
The slot within the Seurat object to retrieve data from.
- log_file
A log filename.