Preprocessing the the spatial experiment data.

processingSPE(
  spe,
  qc_range = list(total_transciprts = c(20, 2000), total_genes = c(20, Inf)),
  verbose = TRUE,
  cell_id = "cell_id",
  seed = 2023
)

Arguments

spe

A Spatial Experiment object

qc_range

A list vector with two elements indicating the range of the total transciprts of the cells to keep.

verbose

A logical value indicates whether to print out running messages.

cell_id

A string indicates the cell ID column in SpatialExperiment object.

seed

A numeric indicates the seed to be set

Value

A SpatialExperiment object