Skip to contents

Get a native CellChat-family object

Usage

GetCCCObject(
  object,
  method = c("CellChat", "SpatialCellChat"),
  result.name = NULL,
  sample = NULL
)

Arguments

object

A `Seurat` object.

method

Either `"CellChat"` or `"SpatialCellChat"`.

result.name

A CellChat condition or SpatialCellChat named result.

sample

Spatial sample for SpatialCellChat results.

Value

A native backend object.