Description Usage Arguments Details Value Examples
provides the codon counts for a fiven amino acid across all genes
1 | getCodonCounts(genome)
|
genome |
A genome object from which the counts of each codon can be obtained. |
The returned matrix containes a row for each gene and a column
for each synonymous codon of aa
.
Returns a data.frame storing the codon counts for each amino acid.
1 2 3 4 5 | genome_file <- system.file("extdata", "genome.fasta", package = "AnaCoDa")
## reading genome
genome <- initializeGenomeObject(file = genome_file)
counts <- getCodonCounts(genome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.