get_codon_table {cubar}R Documentation

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")

Arguments

gcid

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

Value

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

Examples

# Standard genetic code
get_codon_table()

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

[Package cubar version 0.5.0 Index]