extract_nearest_neighbor {IrisSpatialFeatures} | R Documentation |
Extract the distance to each nearest neighbor for each cell-type
extract_nearest_neighbor(x, ...) ## S4 method for signature 'ImageSet' extract_nearest_neighbor(x, min_num_cells = 10)
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) |
distance to nearest neighbor for each
#loading pre-read dataset dataset <- IrisSpatialFeatures_data extract_nearest_neighbor(dataset)