MapDataToCodes: Assign nearest node to each datapoint

MapDataToCodesR Documentation

Assign nearest node to each datapoint

Description

Assign nearest node to each datapoint

Usage

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


saeyslab/FlowSOM documentation built on July 6, 2024, 10:59 a.m.