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


satijalab/seurat documentation built on March 20, 2024, 8:41 p.m.