neur.representatives {SOMMD}R Documentation

Neuron representative

Description

Compute the representative frame of each neuron (the closest to the neuron codebook)

Usage

neur.representatives(SOM)

Arguments

SOM

a kohonen SOM object.

Value

A vector containing the index of the representative frames for each neuron

Author(s)

Stefano Motta stefano.motta@unimib.it

Examples

#Read example SOM data
som_model <- readRDS(system.file("extdata", "SOM_HIFa.rds", package = "SOMMD"))
#Compute representative frame for each neuron
neuron_representatives <- neur.representatives(som_model)

[Package SOMMD version 0.1.2 Index]