Home   >   User Resources   >   Online Help   >   apaPatternRecognition.MotifGroups.FromProfile
 

 

Function index Version 3.0.0

apaPatternRecognition.MotifGroups.FromProfile(profile, profileIndex, windowSize, topKPairs)

Excel=apaPatternRecognition.MotifGroups.FromProfile(profile, profileIndex, windowSize, topKPairs)

Result

Returns motif groups extracted from matrix profile and matrix profile index vectors using index-link grouping.

Syntax

profile: k x 1 or 1 x k matrix profile vector

profileIndex: k x 1 or 1 x k vector of 1-based matrix profile indices

windowSize: length of the subsequences (window size)

topKPairs: number of seed motif pairs to use. Default value: 5

Algorithm

The top non-overlapping motif pairs are extracted (see apaPatternRecognition.MotifExtraction.TopMotifPairs.FromProfile) and used as seeds.

Remarks

The result contains a header row and one row per group with the columns GroupId, SeedStart1, SeedStart2, SeedDistance, Count and the 1-based start indices Member1, Member2, … .