CreateSegmentation: Create a 'Segmentation' Objects

View source: R/generics.R

CreateSegmentationR Documentation

Create a Segmentation Objects

Description

Create a Segmentation Objects

Usage

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


SeuratObject documentation built on Dec. 12, 2025, 5:06 p.m.