Description Usage Arguments Value Author(s) References
The function assumes that all data come from independent samples on the same individual.
1 | bin_post(ncounts, ssize, prior, seq_error = 0.01)
|
ncounts |
A vector of non-negative integers. The ith element is the number of counts of the ith sample. |
ssize |
A vector of positive integers. The ith element is the total number of counts of the ith sample. |
prior |
A vector of non-negative numerics that sum to one. The
prior probability on the genotype. The first element is the
prior probability of zero reference alleles, the second element
is the prior probability of one reference allele, etc. The
length of |
seq_error |
A non-negative numeric. This is the known sequencing error rate. This is a rough high-ball error rate given by Li et. al. (2011). |
A vector of probabilities. The ith element is the posterior probability that the individual has i - 1 copies of the reference allele.
David Gerard
Li, Yun, Carlo Sidore, Hyun Min Kang, Michael Boehnke, and Gon<c3><a7>alo R. Abecasis. "Low-coverage sequencing: implications for design of complex trait association studies." Genome research (2011).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.