comp.trans.mat {SOMMD} | R Documentation |
Compute transition matrix
Description
Compute the transition matrix starting from a vector of subsequent classifications
Usage
comp.trans.mat(SOM, start = 1)
Arguments
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) |
Value
A matrix of pairwise transitions between neurons
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 transition Matrix
tr_mat <- comp.trans.mat(som_model, start = 1)
[Package SOMMD version 0.1.2 Index]