Description Usage Arguments Value Examples
Get the haplotype probs nearest to the given chr and position.
1 | get_allele_probs(chr, pos, genoprobs, map)
|
chr |
character indicating the chromosome to use. This must match one of the names of genoprobs and map. |
pos |
numeric value in Mb indicating the position on the chromosome. |
genoprobs |
qtl2-style list of genoprobs containing 3-dimensional arrays of allele probs, one for each chromosome. Samples in rows, 8 founders in columns, markers in slices. |
map |
qtl2-style list containing numeric vectors of marker positions in Mb. |
n x 8 numeric matrix.
1 | ap = get_allele_probs(chr = "1", pos = 5.0, genoprobs = genoprobs, map = map)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.