sequenceToArray: One-hot-encodes integer sequence

Usage Arguments

View source: R/preprocess.R

Usage

1
sequenceToArray(sequence, maxlen, vocabulary, startInd)

Arguments

sequence

Sequence of integers.

maxlen

Length of one sample

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.