Description Usage Arguments Value Examples
View source: R/encoding_methods.R
encode_one_hot
one-hot-encodes sequence in a string format.
1 | encode_one_hot(sequence, max_length = 4034)
|
sequence |
Sequence in a string format. |
max_length |
Maximum length of sequence to encode. |
One-hot encoded sequence.
1 2 | sample_seq <- "MSHMTFNTWKAGLWRLAAAAVLSLLPVVARAAVPGITGPTFDLTAQPGRANQPDGASVYSWGYGCNPRTVPGFLPSVNPLAGQ"
encoded_seq <- encode_one_hot(sample_seq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.