| Title: | Encode/Decode Strings as Nucleotide Sequences |
|---|---|
| Description: | Encode strings as nucleotide sequences and decode nucleotide sequences into strings. |
| Authors: | Stephen Turner [aut, cre] (ORCID: <https://orcid.org/0000-0001-9140-9028>) |
| Maintainer: | Stephen Turner <[email protected]> |
| License: | GPL (>= 3) |
| Version: | 0.1.0 |
| Built: | 2026-06-07 09:06:45 UTC |
| Source: | https://github.com/stephenturner/string2dna |
Encode a string into a DNA sequence or decode a DNA sequence into a string.
string2dna(x, method = "encode")string2dna(x, method = "encode")
x |
A string |
method |
Either |
A string
https://github.com/lurbano/dnaWriter/blob/main/dna_writer.js
string2dna("Stephen Turner", method="encode") string2dna("TGATAGCTAGAGCGTCTACTCAGCTAGGATCACCTCCTACAC", method="decode")string2dna("Stephen Turner", method="encode") string2dna("TGATAGCTAGAGCGTCTACTCAGCTAGGATCACCTCCTACAC", method="decode")