linesByNames: Extract pedigree by names

Description Usage Arguments Details Value

View source: R/pedigree.R

Description

Extract part of pedigree in human-readable format

Usage

1

Arguments

pedigree

An object of class pedigree

names

The names of the lines for which to extract the pedigree

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.

Value

A matrix giving the genetic lines and their parents, by line name.


mpMap2 documentation built on Sept. 13, 2020, 5:17 p.m.