Learn R Programming

cubar (version 1.1.0)

create_codon_table: create custom codon table from a data frame

Description

create_codon_table creates codon table from data frame of aa to codon mapping.

Usage

create_codon_table(aa2codon)

Value

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

Arguments

aa2codon

a data frame with two columns: amino_acid (Ala, Arg, etc.) and codon.

Examples

Run this code
head(aa2codon)
create_codon_table(aa2codon = aa2codon)

Run the code above in your browser using DataLab