create_codon_table {cubar}R Documentation

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)

Arguments

aa2codon

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

Value

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

Examples

head(aa2codon)
create_codon_table(aa2codon = aa2codon)

[Package cubar version 0.5.0 Index]