Description Usage Arguments Value Examples
This function will return the index in a vector of nucleotides of the first stop codon. nt_sequence is assumed to be in-frame.
1 | find_stop_codon(nt_sequence)
|
nt_sequence |
A vector of nucleotides, i.e. c("A","T","G","A", ...) in which the first codon is the start codon. |
Index of the first in-frame stop codon (or NA if not found).
1 2 3 | find_stop_codon(
c("A", "A", "T", "G", "C", "A", "A", "T", "C", "A", "T", "A", "G", "A")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.