calculateSCUO: calculates the synonymous codon usage order (SCUO)

Description Usage Arguments Value Examples

View source: R/genomeObject.R

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

1
calculateSCUO(genome)

Arguments

genome

A genome object initialized with initializeGenomeObject.

Value

returns the SCUO value for each gene in genome

Examples

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

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