Skip to contents

Preprocess SingleCellExperiments and Spatial Experiments

Usage

preprocess(
  object,
  min_umi = 500,
  max_umi = NULL,
  assay = "counts",
  remove_mito = FALSE
)

Arguments

object

SingleCellExperiment or SpatialExperiment, if AnnData or Seurat it will be converted

min_umi

minimum umi count for spots/cells

max_umi

maximimum umi

assay

assay to use for calculation, you can use any assay but counts is recommended

remove_mito

remove mitochondria genes