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/altum documentation built on April 22, 2020, 9:33 p.m.