Learn R Programming

cubar (version 1.1.0)

get_codon_table: get codon table by NCBI gene code ID

Description

get_codon_table creates a codon table based on the given id of genetic code in NCBI.

Usage

get_codon_table(gcid = "1")

Value

a data.table with four columns: aa_code, amino_acid, codon, and subfam.

Arguments

gcid

a string of genetic code id. run show_codon_tables() to see available codon tables.

Examples

Run this code
# Standard genetic code
get_codon_table()

# Vertebrate Mitochondrial genetic code
get_codon_table(gcid = '2')

Run the code above in your browser using DataLab