RF: Relative frequencies.

Description Usage Arguments Value Author(s) Examples

Description

Convenience function to compute the relative frequencies from a matrix with absolute counts.

Usage

1
RF(freq, total = FALSE)

Arguments

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).

Value

A matrix with the relative frequencies.

Author(s)

Moritz Gerstung

Examples

1
2
3
data(HIVmix)
RF(test(HIVmix))[1:10,]
RF(test(HIVmix), total=TRUE)[1:10,]

mg14/deepSNV-old documentation built on May 22, 2019, 8:52 p.m.