Description Usage Arguments Value Examples
View source: R/genetic_code_sav.R
Map codons for each amino acid for a given protein.
1 | mapCodon(prot_id, ensembldbObj, genomeObj, seqLevelStyle = "NCBI")
|
prot_id |
character, Ensembl protein ID |
ensembldbObj |
Ensembl DB Object from the |
genomeObj |
Bioconductor genome object from which coding sequences are extracted (see example) |
seqLevelStyle |
Either "UCSC" or "NCBI". Denote conventions used in genome object to name chromosomes. Need changing to match the genome object. (Default: "NCBI") |
A data.frame with four columns:
AA_pos
: integer, amino acid position of the given Ensembl protein
AA
: amino acid (one-letter code)
codon
: codon corresponding to AA
exon
: the exon(s) in which the given AA
can be found. Amino acids which span across exons are denoted as a semicolon-separated triplets of exon IDs, with each entry corresponding to each position of the codon.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.