Description Usage Arguments Details Examples
View source: R/find_start_stop_codons.R
By Coghlan (2011) A little book of R for bioinformatics. https://a-little-book-of-r-for-bioinformatics.readthedocs.io/en/latest/src/chapter7.html. The functions was originally named findPotentialStartsAndStops().
1 |
sq |
DNA sequence |
Searches a DNA sequence using Biostrings::matchPattern(codon, sequence) to look for start and stop codons. Currently only uses the standard genetic code.
1 2 3 4 5 6 7 | # Example sequence from Coghlan 2011
s1 <- "aaaatgcagtaacccatgccc"
# Returns a list with 2 elements
## 1) locations of codons
## 2) The codon
find_start_stop_codons(s1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.