Export a Seurat Object to 10X-Style Files
make3file.Rd
Write the counts matrix, features, barcodes, metadata, variable features and—optionally—reduction embeddings from a Seurat object in the 10X “3-file” layout.
Details
The function creates a sub-directory called 3file
inside
dir
and writes:
matrix.mtx.gz
Compressed Matrix Market file containing the counts matrix.features.tsv.gz
Gene (feature) table.barcodes.tsv.gz
Cell barcodes.meta.csv
Cell-level metadata.\<reduction\>_reduction.tsv.gz
Embeddings for each reduction (UMAP, PCA, …); written only whenget_reductions = TRUE
.variablefeatures.tsv.gz
Variable-gene list.