expand: Expand markers contained within object

Description Usage Arguments Details Value

View source: R/expand.R

Description

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

Usage

1
expand(mpcross, newMarkers)

Arguments

mpcross

The input mpcross object

newMarkers

The names of the new markers to add

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.

Value

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


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