encode_integer {deepredeff}R Documentation

Integer encoder

Description

encode_integer integer-encodes sequence in a string format.

Usage

encode_integer(sequence, max_length = 4034)

Arguments

sequence

Sequence in a string format.

max_length

Maximum length of sequence to encode.

Value

Integer encoded sequence.

Examples

sample_seq <- "MSHMTFNTWKAGLWRLAAAAVLSLLPVVARAAVPGITGPTFDLTAQPGRANQPDGASVYSWGYGCNPRTVPGFLPSVNPLAGQ"
encoded_seq <- encode_integer(sample_seq)

[Package deepredeff version 0.1.1 Index]