Learn R Programming

SeuratObject (version 5.0.2)

Crop: Crop Coordinates

Description

Crop Coordinates

Usage

Crop(object, x = NULL, y = NULL, coords = c("plot", "tissue"), ...)

# S3 method for FOV Crop(object, x = NULL, y = NULL, coords = c("plot", "tissue"), ...)

Value

object cropped to the region specified by x

and y

Arguments

object

An object

x, y

Range to crop x/y limits to; if NULL, uses full range of x/y

coords

Coordinate system to execute crop; choose from:

  • plot”: Coordinates as shown when plotting

  • tissue”: Coordinates from GetTissueCoordinates

...

Arguments passed to other methods