check_limit: Checks if user supplied amino acid proportion limit threshold...

Description Usage Arguments Value

View source: R/check_limit.R

Description

Checks if user supplied amino acid proportion limit threshold is too restrictive.

Usage

1
check_limit(codon_tbl, limit)

Arguments

codon_tbl

A properly formatted 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).

limit

A numeric value greater than or equal to 0 and less than or equal to 0.49. Codons with a proportion below specified value will be filtered and will not be avaliable for selection through the reverse translation function.

Value

A filtered Codon Frequency Table removing all amino acids whose proportion is less than the provided limit.


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