View source: R/network.functions.R
comp.trans.mat | R Documentation |
Compute the transition matrix starting from a vector of subsequent classifications
comp.trans.mat(SOM, start = 1)
SOM |
a kohonen object on which transitions between neurons will be computed |
start |
a vector containing the start frames of each replica (usually contained in trj$start if replicas were merged with cat_trj) |
A matrix of pairwise transitions between neurons
Stefano Motta stefano.motta@unimib.it
#Read example SOM data
som_model <- readRDS(system.file("extdata", "SOM_HIFa.rds", package = "SOMMD"))
#Compute transition Matrix
tr_mat <- comp.trans.mat(som_model, start = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.