sequenceToArrayLabel: One-hot-encodes integer sequence

Usage Arguments

View source: R/preprocess.R

Usage

1
sequenceToArrayLabel(sequence, maxlen, vocabulary, startInd)

Arguments

sequence

Sequence of integers.

maxlen

Length of predictor sequence.

vocabulary

Set of characters to encode.

startInd

Start positions of samples in sequence.


hiddengenome/deepG documentation built on April 16, 2020, 1:38 a.m.