Query data are always scaled with the saved reference center and scale.
Arguments
- data
Numeric query data.
- reference
A
somalign_referenceobject.- som_query
Optional query SOM or SOM-like object with a codebook.
- codebook_space
Coordinate system of the
som_querycodebook. Only used whensom_queryis supplied."reference_scaled"(default) assumes the codebook was already trained on query data scaled withreference$centerandreference$scale;"raw"re-scales the codebook into reference-scaled space before use.- grid
Optional
kohonen::somgrid()object whensom_queryis omitted.- rlen
Number of SOM training iterations passed to
kohonen::som().- alpha
Learning-rate schedule passed to
kohonen::som().- features
Optional feature names. Defaults to the reference feature order.
- ...
Additional arguments passed to
kohonen::som().