gl_to_gp | R Documentation |
This will take genotype log-likelihoods and normalize them to sum to one. This corresponds to using a naive discrete uniform prior over the genotypes. It is not generally recommended that you use this function.
gl_to_gp(gl)
gl |
A three dimensional array of genotype log-likelihoods.
Element |
A three-dimensional array, of the same dimensions as gl
,
containing the posterior probabilities of each dosage.
David Gerard
data("glike") class(glike) dim(glike) gl_to_gp(glike)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.