Description Usage Arguments Value Examples
getCAIweights
returns the weights for the Codon Adaptation Index
based on a reference genome.
1 | getCAIweights(referenceGenome, default.weight = 0.5)
|
referenceGenome |
A genome object initialized with |
default.weight |
Set default weight for any codon not observed in the reference genome |
Returns a named vector with the CAI weights for each codon
1 2 3 4 5 6 | genome_file <- system.file("extdata", "genome.fasta", package = "AnaCoDa")
## reading genome
referenceGenome <- initializeGenomeObject(file = genome_file)
wi <- getCAIweights(referenceGenome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.