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

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
#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 Jan. 8, 2021, 2:24 a.m.