powered by
encode_one_hot one-hot-encodes sequence in a string format.
encode_one_hot
encode_one_hot(sequence, max_length = 4034)
Sequence in a string format.
Maximum length of sequence to encode.
One-hot encoded sequence.
# NOT RUN { sample_seq <- "MSHMTFNTWKAGLWRLAAAAVLSLLPVVARAAVPGITGPTFDLTAQPGRANQPDGASVYSWGYGCNPRTVPGFLPSVNPLAGQ" encoded_seq <- encode_one_hot(sample_seq) # }
Run the code above in your browser using DataLab