Title: | Encode/Decode Strings as Nucleotide Sequences |
---|---|
Description: | Encode strings as nucleotide sequences and decode nucleotide sequences into strings. |
Authors: | Stephen Turner [aut, cre] |
Maintainer: | Stephen Turner <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.0 |
Built: | 2025-03-24 06:08:11 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")