linesByNames: Extract pedigree by names
Description
Extract part of pedigree in human-readable format
Usage
linesByNames(pedigree, names)
Arguments
pedigree
An object of class pedigree
names
The names of the lines for which to extract the pedigree
Value
A matrix giving the genetic lines and their parents, by line name.
Details
Pedigrees in mpMap2 are stored using indices for maternal and paternal lines, which is not a human-readable format. This function takes in a pedigree, and returns a human-readable subset.