Learn R Programming

cubar (version 1.2.0)

est_aau: Estimate Amino Acid Usage Frequencies of CDSs.

Description

Estimate Amino Acid Usage Frequencies of CDSs.

Usage

est_aau(cf, codon_table = get_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.

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.

Examples

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

Run the code above in your browser using DataLab