pminmax: %MinMax of a coding DNA sequence

Description Usage Arguments Details Value References

View source: R/pminmax.r

Description

Calculates the %MinMax (Clarke and Clark, 2008) of a DNA sequence coding a protein of interest.

Usage

1
pminmax(x, z = 10, cut = "n", y = 0, spp = "ecoli")

Arguments

x

a KZsqns object of the codons for which %MinMax will be calculated; when a list of such objects are provided, %MinMax will be calculated for the first object only

z

the width of the sliding window. Default 10

cut

a named numeric array of the codon usage table of the host species. Each entry is the number of codons of genes from the reference species, and the name is the case insensitive three letter base char string of the codon. Optional if spp is specified

y

a number denoting the codon table to be used. When cut is specified, y also needs to be specified. 0 = standard codon table (default), 2 = vertibrate mitchodrial (See dna2aa for additional options). When an option other than those mentioned above is provided, the standard codon table will be used

spp

a character string denoting the host species name on which the codon usage table is based. Sixteen build-in reference tables are available: 'ecoli', E. coli (standard code), default option; 'insect', insect (standard code); 'yeast', yeast (standard code); 'celegans', C. elegans (standard code); 'drosophila', Drosophila melanogaster (standard code); 'human', human (standard code); 'mouse', mouse (standard code); 'rat', rat (standard code); 'pig', pig (standard code); 'pichia', Pichia pastoris (standard code); 'arabidopsis', Arabidopsis thaliana (standard code); 'streptomyces', Streptomyces (standard code); 'zea', Zea mays (standard code); 'nicotiana', Nicotiana tabacum (standard code); 'saccharomyces', Saccharomyces cerevisiae (standard code); 'cricetulus', Cricetulus griseus (standard code). When specified, this option overides cut.

Details

Frequently used codon frequency table in 16 expression host organisms were built-in based on Genscript [1]. In addition, when your host organism is not one of those built-in, you can supply a custom array of codon usage table and the corresponding codon table can be supplied using cut and y to calculate %MinMax statistic for additional host organisms.

Value

a numerical array of %MinMax values

References

[1] https://www.genscript.com/tools/codon-frequency-table [retreaved 2/4/2019]


HVoltBb/kondonz documentation built on Jan. 11, 2020, 3:30 a.m.