neur.population: Get Neuron Population

View source: R/neur.population.R

neur.populationR Documentation

Get Neuron Population

Description

Function to compute the per-neuron population

Usage

neur.population(SOM, start = 1, end = length(SOM$unit.classif), N = 1)

Arguments

SOM

the SOM object

start

a vector containing the start frames of each replica (usually contained in trj$start if replicas were merged with cat_trj)

end

a vector containing the end frames of each replica (usually contained in trj$end if replicas were merged with cat_trj)

N

An integer for the portion (replica) of the simulations to be plotted

Value

A vector containing the per-neuron population

Author(s)

Stefano Motta stefano.motta@unimib.it

Examples

#Read example SOM data
som_model <- readRDS(system.file("extdata", "SOM_HIFa.rds", package = "SOMMD"))
pop <- neur.population(som_model)


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