Crop: Crop Coordinates

View source: R/generics.R

CropR Documentation

Crop Coordinates

Description

Crop Coordinates

Usage

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

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

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

Value

object cropped to the region specified by x and y


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.