aa.MODE.freq {VLF} | R Documentation |
Amino Acid Modal Frequencies
Description
Returns the frequencies of the amino acids that occur most often in each position of the sequence.
Usage
aa.MODE.freq(freq.matrix, seqlength)
Arguments
freq.matrix |
Frequency matrix for amino acids. |
seqlength |
Length of the amino acid sequences |
Details
The argument freq.matrix can be calculated using the function aa.frequency.matrix.function
Value
A vector of frequencies for the first modal sequence.
Author(s)
Taryn B. T. Athey and Paul D. McNicholas
Examples
## Not run: data(birds_aminoAcids)
birds_aminoAcid_count <- aa.count.function(birds_aminoAcids, 216)
aminoAcid_frequency.Matrix <- aa.frequency.matrix.function(birds_aminoAcid_count, 216)
aminoAcid_firstModalFreq <- aa.MODE.freq(aminoAcid_frequency.Matrix, 216)
## End(Not run)
[Package VLF version 1.1 Index]