View source: R/aa.MODE.second.freq.R
aa.MODE.second.freq | R Documentation |
Returns the frequencies of the amino acids that occur second most often in each position of a matrix of amino acid sequences.
aa.MODE.second.freq(freq.matrix, seqlength)
freq.matrix |
Frequency matrix for amino acids. |
seqlength |
Length of amino acid sequences. |
The argument freq.matrix can be calculated using the function aa.frequency.matrix.function
A vector containing the frequencies of the second modal amino acid sequence.
Taryn B. T. Athey and Paul D. McNicholas
## 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_secondModalFreq <- aa.MODE.second.freq(aminoAcid_frequency.Matrix, 216)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.