rptGC: rptGC.R

Description Format Details Source Examples

Description

The standard genetic code

Format

a named character vector of length 64:

elements

One-letter amino acid code letters and "*", uppercase

names

Codons as nucleotide triplets, uppercase

Details

This is the standard genetic code stored as a vector of amino acid one-letter codes and named with their codon. The code was imported from the Biostrings package.

Source

https://bioconductor.org/packages/release/bioc/html/Biostrings.html

Examples

1
2
3
4
# translate a codon
rptGC["ATG"]    # "M"
# list the codons for an amino acid
names(rptGC)[rptGC == "R"]   # "AGA" "AGG" "CGA" "CGG" "CGC" "CGT"

hyginn/rptPlus documentation built on May 30, 2019, 2:11 p.m.