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 Nov. 22, 2024, 11:36 p.m.