extract_nearest_neighbor {IrisSpatialFeatures} | R Documentation

## Extract the distance to each nearest neighbor for each cell-type

### Description

Extract the distance to each nearest neighbor for each cell-type

### Usage

    extract_nearest_neighbor(x, ...)

    ## S4 method for signature 'ImageSet'
    extract_nearest_neighbor(x, min_num_cells = 10)

### Arguments

`x` | IrisSpatialFeatures ImageSet object
`...` | Additional arguments
`min_num_cells` | Minimum number of cell that a coordinate needs to have in order to calculate the statistics (Default: 10)

### Value

distance to nearest neighbor for each

### Examples

    #loading pre-read dataset
    dataset <- IrisSpatialFeatures_data
    extract_nearest_neighbor(dataset)

[Package IrisSpatialFeatures version 1.3.0 Index]