Learn R Programming

mpMap2 (version 1.0.4)

expand: Expand markers contained within object

Description

Expand set of markers within object, adding extra markers with missing observations as necessary.

Usage

expand(mpcross, newMarkers)

Arguments

mpcross

The input mpcross object

newMarkers

The names of the new markers to add

Value

An object of class mpcross with a larger set of markers.

Details

This function expands the set of markres within an mpcross object. The new set of marker names must contain all the existing marker names, with any desired extra marker names. Any added markers will have all observations marked as missing. Any existing non-genetic information (genetic map, assignment of linkage groups, IBD genotypes, IBD probabilitieS) will be removed.