View source: R/deepSNV-functions.R
RF | R Documentation |
Convenience function to compute the relative frequencies from a matrix with absolute counts.
RF(freq, total = FALSE)
freq |
A matrix with nucleotide counts. |
total |
If the nucleotide counts have columns for forward and reverse direction, return each strand sepratatelu (FALSE), or add the two (TRUE). |
A matrix with the relative frequencies.
Moritz Gerstung
data(HIVmix) RF(test(HIVmix))[1:10,] RF(test(HIVmix), total=TRUE)[1:10,]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.