getStartInd: Computes start position of samples

Usage Arguments

View source: R/preprocess.R

Usage

1
getStartInd(seq_vector, length_vector, maxlen, step, train_mode = "label")

Arguments

seq_vector

Vector of character sequences.

length_vector

Length of sequences in seq_vector.

maxlen

Length of one predictor sequence.

step

Distance between samples from one entry in seq_vector.

train_mode

Either "lm" for language model or "label" for label classification. Language models need one character more (the target) for one sample.


hiddengenome/altum documentation built on April 22, 2020, 9:33 p.m.