rm_ndc: Remove non-degenerate and stop codons

Description Usage Arguments

View source: R/rm_ndc.r

Description

Removes non-redundant and stop codons based on the specified codon table. For some compositional analysis, it is advisable to remove non-redundant amino acid coding codons and stop codons.

Usage

1
rm_ndc(x, y = 0, keep.stop = TRUE)

Arguments

x

a list of KZsqns objects

y

a vector of numbers denoting the codon table to be used for each KZsqns object. 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. When the length of this vector is smaller than the number of KZsqns objects supplied, standard codon tables will be used for those remaining KZsqns objects

keep.stop

an option indication whether stop codons should also be kept. TRUE: keep stop codons if they are degenerate (default); FALSE: remove stop codons


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