Learn R Programming

STMotif (version 2.0.2)

display_motifsDataset: 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)

Value

Heatmap dataset with seelected motifs

Arguments

dataset

Numerical dataset

rstmotifs

List of ranked motifs

alpha

The cardinality of the SAX alphabet

Examples

Run this code
#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)

Run the code above in your browser using DataLab