display_motifsDataset {STMotif}R Documentation

Plot a heatmap of the dataset and highlight the selected motifs from the list

Description

Plot a heatmap of the dataset and highlight the selected motifs from the list

Usage

display_motifsDataset(dataset, rstmotifs, alpha)

Arguments

dataset

Numerical dataset

rstmotifs

List of ranked motifs

alpha

The cardinality of the SAX alphabet

Value

Heatmap dataset with seelected motifs

Examples

#Launch all the workflow
#Plot the result
D  <- STMotif::example_dataset
DS <- NormSAX(STMotif::example_dataset,5)
stmotifs <- SearchSTMotifs(D,DS,4,5,4,10,2,2)
rstmotifs <- RankSTMotifs(stmotifs)
display_motifsDataset(dataset = STMotif::example_dataset, rstmotifs[c(1:4)],  5)

[Package STMotif version 2.0.2 Index]