get_nearest_neighbors: Get the nearest neighbor for a specified cell-type

Description Usage Arguments Value Examples

Description

Get the nearest neighbor for a specified cell-type

Usage

1
2
3
4
get_nearest_neighbors(x, ...)

## S4 method for signature 'ImageSet'
get_nearest_neighbors(x, marker)

Arguments

x

An IrisSpatialFeatures ImageSet object

...

Additional arguments

marker

Cell type for which the nearest neighbor should be calculated

Value

nearest neighbors for the specified cell-type

Examples

1
2
3
4
#' #loading pre-read dataset
dataset <- IrisSpatialFeatures_data
dataset <- extract_nearest_neighbor(dataset,min_num_cells=2)
get_nearest_neighbors(dataset,"SOX10+ PDL1+")

gusef/IrisSpatialFeatures documentation built on May 6, 2019, 9:50 p.m.