RemoveHomozygotes: Remove the homozygotic snp loci from a list of haplotypes

View source: R/makeHaplotypes.R

RemoveHomozygotesR Documentation

Remove the homozygotic snp loci from a list of haplotypes

Description

Finds homozygotic marker loci in a list of haplotypes and removes these from all haplotypes.

Usage

RemoveHomozygotes(hList)

Arguments

hList

List of objects of class haplotype

Value

A list of objects of class haplotype.

See Also

SampleHaplotypes, SampleHaplotype.

Examples

hList <- SampleHaplotypes(nHaplotypes = 20,nLoc = 100,genDist =
1,nDec = 3) ## create objects
hList <- RemoveHomozygotes(hList)

HaploSim documentation built on Aug. 14, 2022, 1:06 a.m.