get_allele_probs: Get the haplotype probs nearest to the given chr and...

Description Usage Arguments Value Examples

Description

Get the haplotype probs nearest to the given chr and position.

Usage

1

Arguments

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.

Value

n x 8 numeric matrix.

Examples

1
ap = get_allele_probs(chr = "1", pos = 5.0, genoprobs = genoprobs, map = map)

dmgatti/qtl2med documentation built on May 8, 2019, 11:55 p.m.