jamCai | R Documentation |
Calculate Codon Adaptation Index
jamCai(x, codonDF, ...)
x |
character vector containing DNA or RNA sequence, intended
to include amino acid codons in frame beginning with the first
character. It is sent to |
codonDF |
data.frame containing amino acid codons per row,
with colname |
... |
additional arguments are ignored. |
This function is equivalent to seqinr::cai()
except that it
runs in vectorized form and is markedly more efficient.
numeric vector with length length(x)
, named with
names(x)
containing codon adaptation index (cai) values
equivalent to those produced by seqinr::cai()
.
Other jam codon usage functions:
codonUsage2df()
,
dna2codon()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.