Learn R Programming

SeuratObject (version 5.3.0)

CreateSegmentation: Create a Segmentation Objects

Description

Create a Segmentation Objects

Usage

CreateSegmentation(coords, compact = FALSE)

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

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

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

Value

A Segmentation object

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.