Learn R Programming

mpMap2 (version 1.0.4)

hetsForSNPMarkers: Create heterozygote encodings for SNP markers

Description

Create encoding which assumes that the single non-homozygote value for a SNP marker is the heterozygote

Usage

hetsForSNPMarkers(founders, finals, pedigree)

Arguments

founders

Genetic data for the founding lines of the population

finals

Genetic data for the final genotyped lines of the population

pedigree

Pedigree for the population. Unused by this particular function.

Value

An object of class hetData, which contains encodings for the marker heterozygotes and the (unique) marker heterozygote

Details

This function takes in genotype data for the founding lines and the final poulation. It returns an encoding for hetorozygotes for all markers, where multiallelic markers are assumed to have no heterozygotes. For biallelic markers with three observed alleles in the final population, the extra allele is assumed to be the heterozygote.