Skip to contents

Return a schema-v1 read-only view of a registered spatial result. Legacy results are normalized in the returned copy and are never written back.

Usage

GetSpatialResult(
  object,
  method = NULL,
  tool_name = NULL,
  raw = FALSE,
  validate = TRUE
)

Arguments

object

A `Seurat` object.

method

Optional public producer or result family.

tool_name

Optional exact key in `object@tools`.

raw

Whether to return the stored value without normalization.

validate

Whether to validate schema-v1 results before returning.

Value

A plain spatial result list.