est_aau: Estimate Amino Acid Usage Frequencies of CDSs.

est_aauR Documentation

Estimate Amino Acid Usage Frequencies of CDSs.

Description

Estimate Amino Acid Usage Frequencies of CDSs.

Usage

est_aau(cf, codon_table = get_codon_table())

Arguments

cf

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

codon_table

codon_table a table of genetic code derived from get_codon_table or create_codon_table.

Value

a data.table with amino acid frequencies of CDSs. The columns include three-letter abbreviation of the amino acid, single-letter abbreviation, usage frequency of the amino acid in all sequences, and usage frequency proportion.

Examples

# estimate amino acid frequencies of yeast genes
cf_all <- count_codons(yeast_cds)
aau <- est_aau(cf_all)
print(aau)

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