check_codon_table: Confirm formatting for user supplied Codon Frequency Table.

Description Usage Arguments Format Value

View source: R/check_codon_table.R

Description

Confirm formatting for user supplied Codon Frequency Table.

Usage

1
check_codon_table(codon_tbl)

Arguments

codon_tbl

A Codon Frequency Table with the following column names, c("codon", "aa", "prop"). Capitalization of column names should not matter. The prop column must be of type numeric and all proportions between 0 and 1. The sum of each codons proportion per amino acid must total roughly to 1 (0.98 to 1.02 allowed).

Format

codon_tbl (A Codon Frequency Table):

codon

Three DNA nucleotides representing the amino acid.

aa

One letter abbreviation of the amino acid or * for Stop

prop

The proportion the specific codon is present in the genome

Value

An updated Codon Frequency Table with all column names lower case for downstream use.


greg-botwin/reversetranslate documentation built on Aug. 24, 2019, 4:04 a.m.