AnaCoDa (version 0.1.1)

getCAIweights: Calculate the CAI codon weigths for a reference genome

Description

getCAIweights returns the weights for the Codon Adaptation Index based on a reference genome.

Usage

getCAIweights(referenceGenome)

Arguments

referenceGenome

A genome object initialized with initializeGenomeObject.

Value

Returns a named vector with the CAI weights for each codon

Examples

Run this code
# NOT RUN {
genome_file <- system.file("extdata", "genome.fasta", package = "AnaCoDa")

## reading genome
referenceGenome <- initializeGenomeObject(file = genome_file)

wi <- getCAIweights(referenceGenome)

# }

Run the code above in your browser using DataCamp Workspace