Learn R Programming

SOMMD (version 0.1.2)

neur.representatives: Neuron representative

Description

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

Usage

neur.representatives(SOM)

Value

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

Arguments

SOM

a kohonen SOM object.

Author

Stefano Motta stefano.motta@unimib.it

Examples

Run this code
#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)

Run the code above in your browser using DataLab