where_het: Find heterozygous regions

View source: R/where_het.R

where_hetR Documentation

Find heterozygous regions

Description

Find regions of heterozygosity in an individual

Usage

where_het(ind)

Arguments

ind

An individual object, as output be create_parent() or cross()

Value

A matrix with two columns; each row indicates the start and end of a region where the individual is heterozygous

See Also

sim_from_pedigree(), convert2geno()

Examples

mom <- create_parent(100, 1:2)
dad <- create_parent(100, 1:2)
child <- cross(mom, dad)
where_het(child)

simcross documentation built on May 29, 2024, 2:41 a.m.