as.Centroids | R Documentation |
Convert Segmentation Layers
as.Centroids(x, nsides = NULL, radius = NULL, theta = NULL, ...)
as.Segmentation(x, ...)
## S3 method for class 'Segmentation'
as.Centroids(x, nsides = NULL, radius = NULL, theta = NULL, ...)
## S3 method for class 'Centroids'
as.Segmentation(x, ...)
x |
An object |
nsides |
The number of sides to represent cells/spots; pass
|
radius |
Radius of shapes when plotting |
theta |
Angle to adjust shapes when plotting |
... |
Arguments passed to other methods |
as.Centroids
: A
Centroids
object
as.Segmentation
: A
Segmentation
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.