Export a Seurat Object to 10X-Style Files
make3file.RdWrite 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.gzCompressed Matrix Market file containing the counts matrix.features.tsv.gzGene (feature) table.barcodes.tsv.gzCell barcodes.meta.csvCell-level metadata.\<reduction\>_reduction.tsv.gzEmbeddings for each reduction (UMAP, PCA, …); written only whenget_reductions = TRUE.variablefeatures.tsv.gzVariable-gene list.