SearchSTMotifs: SearchSTMotifs

Description Usage Arguments Value Examples

Description

Search for Spatial-time Motifs

Usage

1
SearchSTMotifs(D, DS, w, a, sb, tb, si = 3, ka = 3)

Arguments

D

Dataset containing numeric values

DS

Dataset containing SAX encoded values

w

Word Size

a

Number of letters to do the encode

sb

"Space slice" Number of columns in each block

tb

"Time slice" Number of rows in each block

si

Support of Global Occurrence (GO)

ka

Support for Spatial Occurrence (SO)

Value

Return a list of identified motifs. Each motif contains the information [isaxcode, recmatrix, vectst], as described:

isaxcode: Motif sequences in character format

recmatrix: Matrix giving as information the blocks containing this motif

vectst: Coordinate of the start positions of the motif in the original dataset

Examples

1
2
3
4
#Search for Spatial-time Motifs
D  <- STMotif::example_dataset
DS <- NormSAX(STMotif::example_dataset,5)
stmotifs <- SearchSTMotifs(D,DS,4,5,4,10,2,2)

STMotif documentation built on Jan. 8, 2021, 2:24 a.m.