AnaCoDa (version 0.1.1)

getNc: Calculate the Effective Number of Codons

Description

getNc returns the Effective Number of Codons for a genome.

Usage

getNc(genome)

Arguments

genome

A genome object initialized with initializeGenomeObject.

Value

Returns a named vector with the Effective Number of Codons for each gene

Examples

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

nc <- getNc(genome)

# }

Run the code above in your browser using DataCamp Workspace