multiparentSNP: Convert all markers to SNP markers

Description Usage Arguments Details Value

View source: R/multiparentSNP.R

Description

Convert all markers in an object with fully informative markers to SNP markers

Usage

1
multiparentSNP(keepHets)

Arguments

keepHets

Should heterozygotes for the SNP marker be kept?

Details

When initially generated, objects of class mpcross have markers that are fully informative - Every founder carries a different allele, and all marker heterozygotes are distinguishable. This function can be used to convert a simulated object to one with SNP markers. The resulting markers have two alleles, and the marker heterozygote might or might be observable.

Value

An object of internal type multiparentSNP, which can be combined with an object of class mpcross using the addition operator.


rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.