fortify-Spatial: Prepare Coordinates for Spatial Plots

fortify-SpatialR Documentation

Prepare Coordinates for Spatial Plots

Description

Prepare Coordinates for Spatial Plots

Usage

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

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

## S3 method for class '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


Seurat documentation built on May 29, 2024, 4:20 a.m.