fromMpMap: Convert from mpMap format to mpMap2 format

Description Usage Arguments Details Value

View source: R/mpcross.R

Description

Convert an object from mpMap format into mpMap2 format

Usage

1
fromMpMap(mpcross, selfing = "infinite", fixCodingErrors = FALSE)

Arguments

mpcross

Object to convert

selfing

Number of generations of selfing to put in the pedigree, for the converted object. Must be "finite" or "infinite".

fixCodingErrors

Should we attempt to fix coding errors, by replacing invalid values by NA? Defaults to FALSE.

Details

Convert an object from mpMap format (the predecessor to mpMap2) into mpMap2 format. It is unlikely that this function will ever need to be used.

Value

An object of class mpcross or mpcrossMapped, depending on the data contained in the input object.


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