Learn R Programming

rEMM (version 1.0-5)

TRAC: TRAC: Creating an EMM from a regulat clustering

Description

Create an EMM from a regular clustering (k-means or PAM) of sequence data.

Usage

TRAC(x)

Arguments

x
a clustering object (result of kmeans or pam).

Value

  • A EMM object representing the clustering of sequence data.

Examples

Run this code
data("EMMsim")

## cluster sequence data
cl <- kmeans(EMMsim_train, 4)

## create temporal/sequence model
emm <- TRAC(cl)

plot(emm)

Run the code above in your browser using DataLab