Learn R Programming

simcross (version 0.6)

where_het: Find heterozygous regions

Description

Find regions of heterozygosity in an individual

Usage

where_het(ind)

Value

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

Arguments

ind

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

See Also

sim_from_pedigree(), convert2geno()

Examples

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

Run the code above in your browser using DataLab