Skip to contents

Export Seurat meta.data aligned to barcodes

Usage

metadata_write_10x(
  seu,
  out_dir,
  file_name = "metadata.tsv.gz",
  cols = NULL,
  compress = TRUE,
  overwrite = FALSE
)

Arguments

seu

Seurat object.

out_dir

Output directory.

file_name

Output file name.

cols

Optional character vector of metadata columns to save.

compress

Logical; if TRUE, write gzipped file.

overwrite

Logical; if TRUE, overwrite existing file.

Value

Invisibly returns the output file path.