get_aau: Amino Acid Usage

get_aauR Documentation

Amino Acid Usage

Description

Calculate Amino Acid Usage Frequencies of each CDS.

Usage

get_aau(cf, codon_table = get_codon_table())

Arguments

cf

matrix of codon frequencies as calculated by 'count_codons()'.

codon_table

a table of genetic code derived from get_codon_table or create_codon_table.

Value

a matrix of amino acid frequencies for each CDS. Each row corresponds to a sequence, and each column represents an amino acid.

Examples

# estimate amino acid frequencies of yeast CDSs
cf_all <- count_codons(yeast_cds)
aau_gene <- get_aau(cf_all)
head(aau_gene)


cubar documentation built on Aug. 21, 2025, 5:40 p.m.