nn_comparison_dataframe: Compare nearest neighbors by a data.frame

Description Usage Arguments Value Examples

Description

Compare nearest neighbors by a data.frame

Usage

1
2
3
4
5
6
nn_comparison_dataframe(x, markerA, markerB, reference, from_reference = TRUE)


  ## S4 method for signature 'ImageSet,character,character,character,logical'
nn_comparison_dataframe(x,
  markerA, markerB, reference, from_reference = TRUE)

Arguments

x

IrisSpatialFeatures ImageSet object that has had extract nearest neighbors run

markerA

First marker

markerB

Second marker

reference

Reference marker

from_reference

If true calculate distance from the reference to the markers by NN

Value

data.frame of markers and distances

Examples

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

gusef/Iris documentation built on May 14, 2019, 2:42 p.m.