Learn R Programming

VLF (version 1.1)

aa.frequency.matrix.function: Amino Acid Frequency Matrix

Description

Calculates the frequency of each amino acid.

Usage

aa.frequency.matrix.function(aa.count, seqlength)

Value

A matrix of the frequencies for each amino acid in each position of the barcode sequence.

Arguments

aa.count

A matrix containing the number of each amino acid in each position.

seqlength

The length of the amino acid sequence

Author

Taryn B. T. Athey and Paul D. McNicholas

Details

The aa.count argument can be calculated using the function aa.count.function

Examples

Run this code
if (FALSE) data(birds_aminoAcids)
birds_aminoAcid_count <- aa.count.function(birds_aminoAcids, 216)
aminoAcid_frequency.Matrix <- aa.frequency.matrix.function(birds_aminoAcid_count, 216)

Run the code above in your browser using DataLab