extract_ROI {IrisSpatialFeatures} | R Documentation

## Method that reduces the current dataset to a specific region of interest, discarding all cell coordinates outside of that region

### Description

Method that reduces the current dataset to a specific region of interest, discarding all cell coordinates outside of that region

### Usage

    extract_ROI(x, ...)

    ## S4 method for signature 'ImageSet'
    extract_ROI(x, ROI = "invasive_margin")

### Arguments

`x` | IrisSpatialFeatures ImageSet object
`...` | Additional arguments
`ROI` | Region of interest (default: 'invasive_margin')

### Value

IrisSpatialFeatures ImageSet object

### Examples

    #loading pre-read dataset
    dataset <- IrisSpatialFeatures_data
    im_area <- extract_ROI(dataset,ROI='invasive_margin')

[Package IrisSpatialFeatures version 1.3.0 Index]