Description Usage Arguments Examples
View source: R/find_synonymous_codons.R
Takes as input a codon and a codon lookup table, find its encoded amino acid, and finds alternative codons for that amino acid and returns them as dataframe (default) or list. Verbose option helps to follow the function as it is working. Is called by synonymise function, but can also be used independently.
1 2 | find_synonymous_codons(selectedcodon = NULL, codon_table = codon_table,
returndf = TRUE, verbose = TRUE)
|
selectedcodon |
codon as string, eg "AAA", to be used as the starting codon to find synonyms for. |
codon_table |
dataframe object to be used as lookup table. Defaults to object named codon_table. |
returndf |
logical. Should returned object be a dataframe (or if not, then list)? Defaults to TRUE. |
verbose |
logical. Defaults to TRUE. |
1 | synonymous_codons <- find_synonymous_codons(selectedcodon = "CGC", codon_table = codon_table, returndf = TRUE, verbose = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.