Convert Segmentation Layers
as.Centroids(x, nsides = NULL, radius = NULL, theta = NULL, ...)as.Segmentation(x, ...)
# S3 method for Segmentation
as.Centroids(x, nsides = NULL, radius = NULL, theta = NULL, ...)
# S3 method for Centroids
as.Segmentation(x, ...)
as.Centroids
: A
Centroids
object
as.Segmentation
: A
Segmentation
object
An object
The number of sides to represent cells/spots; pass
Inf
to plot as circles
Radius of shapes when plotting
Angle to adjust shapes when plotting
Arguments passed to other methods