Learn R Programming

Seurat (version 5.0.3)

fortify-Spatial: Prepare Coordinates for Spatial Plots

Description

Prepare Coordinates for Spatial Plots

Usage

# S3 method for Centroids
fortify(model, data, ...)

# S3 method for Molecules fortify(model, data, nmols = NULL, seed = NA_integer_, ...)

# S3 method for Segmentation fortify(model, data, ...)

Arguments

model

A Segmentation, Centroids, or Molecules object

data

Extra data to be used for annotating the cell segmentations; the easiest way to pass data is a one-column data frame with the values to color by and the cell names are rownames

...

Arguments passed to other methods