Learn R Programming

AnaCoDa (version 0.1.4.4)

calculateSCUO: calculates the synonymous codon usage order (SCUO)

Description

calculateSCUO calulates the SCUO value for each gene in genome. Note that if a codon is absent, this will be treated as NA and will be skipped in final calculation

Usage

calculateSCUO(genome)

Arguments

genome

A genome object initialized with initializeGenomeObject.

Value

returns the SCUO value for each gene in genome

Examples

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

# }

Run the code above in your browser using DataLab