Create Spatial Coordinates
CreateFOV(coords, ...)# S3 method for Centroids
CreateFOV(
coords,
molecules = NULL,
assay = "Spatial",
key = NULL,
name = NULL,
...
)
# S3 method for data.frame
CreateFOV(
coords,
type = c("segmentation", "centroids"),
nsides = Inf,
radius = NULL,
theta = 0L,
molecules = NULL,
assay = "Spatial",
key = NULL,
name = NULL,
...
)
# S3 method for list
CreateFOV(coords, molecules = NULL, assay = "Spatial", key = NULL, ...)
# S3 method for Segmentation
CreateFOV(
coords,
molecules = NULL,
assay = "Spatial",
key = NULL,
name = NULL,
...
)
A FOV
object
Spatial coordinates
Arguments passed to other methods
A data.frame
with spatially-resolved
molecule information or a
Molecules
object
Name of associated assay
Key for these spatial coordinates
When coords
is a data.frame
,
Centroids
, or
Segmentation
, name
to store coordinates as
When providing a data.frame
, specify if
the coordinates represent a cell segmentation or voxel centroids
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
FOV-class