simple_freqs {polyfreqs}R Documentation

Point estimation of allele frequencies based on read counts

Description

simple_freqs estimates allele frequencies based on read count ratios.

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.

Author(s)

Paul Blischak


[Package polyfreqs version 1.0.2 Index]