getNcAA: Calculate the Effective Number of Codons for each Amino Acid

Description Usage Arguments Value Examples

View source: R/genomeObject.R

Description

getNcAA returns the Effective Number of Codons for each Amino Acid.

Usage

1
getNcAA(genome)

Arguments

genome

A genome object initialized with initializeGenomeObject.

Value

Returns an object of type data.frame with the Effective Number of Codons for each amino acid in each gene.

Examples

1
2
3
4
5
genome_file <- system.file("extdata", "more_genes.fasta", package = "AnaCoDa")
## reading genome
genome <- initializeGenomeObject(file = genome_file)

nc <- getNcAA(genome)

AnaCoDa documentation built on Jan. 8, 2021, 2:37 a.m.