Skip to contents

Runs SPOTlight deconvolution and returns a deconvolution matrix with column names prefixed by result_name.

Usage

deconvolute_spotlight(
  spatial_obj,
  model = NULL,
  assay_sp = "counts",
  result_name = "spotlight"
)

Arguments

spatial_obj

SpatialExperiment.

model

SPOTlight model from build_model_spotlight().

assay_sp

Spatial assay to use.

result_name

Prefix used to label result columns (default: "spotlight").