Point estimation of allele frequencies based on read counts

Usage

simple_freqs(tM, rM)

Arguments

tM
Total reads matrix: matrix containing the total number of reads mapping to each locus for each individual.
rM
Reference reads marix: matrix containing the number of reference reads mapping to each locus for each individual.

Value

A vector of allele frequencies, one for each locus. Named allele_freqs_hat.

Description

simple_freqs estimates allele frequencies based on read count ratios.

Author

Paul Blischak