Description Usage Arguments Value Examples

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

1 2 3 4 | ```
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

1 2 3 | ```
#loading pre-read dataset
dataset <- IrisSpatialFeatures_data
extract_nearest_neighbor(dataset)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.