display_motifsDataset: Plot a heatmap of the dataset and highlight the selected...

View source: R/visualization.R

display_motifsDatasetR 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)

STMotif documentation built on May 29, 2024, 11:13 a.m.