backtrace {segmenTier} | R Documentation |
segmenTier
algorithm.back-tracing step: collect clustered segments from the scoring matrix
S(i,c)
by back-tracing the position j=k
which delivered
the maximal score at position i
.
backtrace(S, K, multib, nextmax = FALSE, verb = TRUE)
S |
matrix S, containing the local scores |
K |
matrix K, containing the position k used for score maximization |
multib |
if multiple k produce the maximal score, take either the
shortest k ("max") or the longest k ("min"); if |
nextmax |
proceed backwards while score is increasing before opening a new segment |
verb |
print messages |