neur.representatives: Neuron representative

View source: R/neur.representatives.R

neur.representativesR 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)

SOMMD documentation built on Oct. 2, 2024, 5:07 p.m.