get_codon_table: get codon table by NCBI gene code ID

View source: R/codon_info.R

get_codon_tableR 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')

cubar documentation built on April 3, 2025, 8:58 p.m.