View source: R/convert_sequence.R
convert_sequence | R Documentation |
Obtains de complementary, reverse complementary or the reverse of a DNA/RNA sequence.
convert_sequence(sequence = NULL, mode = "not specified", nucleic.acid = "DNA")
sequence |
A string containing the sequence to be converted. By default |
mode |
A string value to define the modality of convertion. Possible options: |
nucleic.acid |
A string to define the type of nucleic acid to which the input sequence belongs. Available options "DNA", default value, or "RNA". |
It returns a string with the converted sequence.
convert_sequence(sequence = "AATTTCCCGTCGAT",
mode = "reverse",
nucleic.acid = "DNA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.