reconstruction: Reconstruct allele based on flanking markers

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Reconstruct allele based on flanking markers

Usage

1
reconstruction(la, ra, ld, rd)

Arguments

la

Allele (0/1) at left flanking marker

ra

Allele (0/1) at right flanking marker

ld

Distance (in Morgans) to left flanking marker

rd

Distance (in Morgans) to right flanking marker

Value

Probability of allele 0 at given position

Examples

1
2
3
4
## close to marker with allele 0, likely to be 0
reconstruction(la = 0, ra = 1, ld = 0.02, rd = 0.18)
## close to marker with allele 1, unlikely to be 0
reconstruction(la = 0, ra = 1, ld = 0.18, rd = 0.02)

mahendra-mariadassou/L1fdvGenetics documentation built on May 20, 2021, 10:42 p.m.