export_CPM_scANANSE {AnanseSeurat}R Documentation

export_CPM_scANANSE

Description

This functions exports CPM values from a seurat object

Usage

export_CPM_scANANSE(
  seurat_object,
  output_dir,
  min_cells = 50,
  RNA_count_assay = "RNA",
  cluster_id = "seurat_clusters"
)

Arguments

seurat_object

the seurat object used to export the CPM values from

output_dir

directory where the files are outputted

min_cells

minimum of cells a cluster needs to be exported

RNA_count_assay

assay of the seurat object containing the RNA count data

cluster_id

ID used for finding clusters of cells

Value

None, outputs CPM and counts files in the output directory

Examples

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

[Package AnanseSeurat version 1.2.0 Index]