Learn R Programming

HaploSim (version 1.8.4.2)

RemoveHomozygotes: 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)

Value

A list of objects of class haplotype.

Arguments

hList

List of objects of class haplotype

See Also

SampleHaplotypes, SampleHaplotype.

Examples

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

Run the code above in your browser using DataLab