create_codon_table: create custom codon table from a data frame

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

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