MapDataToCodes: Assign nearest node to each datapoint

Description Usage Arguments Value

Description

Assign nearest node to each datapoint

Usage

1
MapDataToCodes(codes, newdata, distf = 2)

Arguments

codes

matrix with nodes of the SOM

newdata

datapoints to assign

distf

Distance function (1=manhattan, 2=euclidean, 3=chebyshev, 4=cosine)

Value

Array with nearest node id for each datapoint



Search within the FlowSOM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.