export_ATAC_scANANSE {AnanseSeurat}R Documentation

export_ATAC_scANANSE

Description

This functions exports ATAC values from a seurat object

Usage

export_ATAC_scANANSE(
  seurat_object,
  output_dir,
  min_cells = 50,
  ATAC_peak_assay = "peaks",
  cluster_id = "seurat_clusters"
)

Arguments

seurat_object

object

output_dir

directory where the files are outputted

min_cells

minimum of cells a cluster needs to be exported

ATAC_peak_assay

assay of the seurat object containing the peaks and peakcounts

cluster_id

ID used for finding clusters of cells

Value

None, outputs ATAC peak count file in the output directory

Examples

sce_small <- readRDS(system.file("extdata","sce_small.Rds",package = 'AnanseSeurat'))
export_ATAC_scANANSE(sce_small, min_cells = 2, output_dir = tempdir())

[Package AnanseSeurat version 1.2.0 Index]