Create a Segmentation Objects

CreateSegmentation(coords, compact = FALSE)

# S3 method for class 'data.frame'
CreateSegmentation(coords, compact = FALSE)

# S3 method for class 'Segmentation'
CreateSegmentation(coords, compact = FALSE)

# S3 method for class 'sf'
CreateSegmentation(coords, compact = TRUE)

Arguments

coords

The coordinates of cell segmentations

compact

Logical indicating whether or not the object should only store segmentation data in the sf.data slot; see Segmentation-class for details.

Value

A Segmentation object