getProbandPedigree {nprcgenekeepr} | R Documentation |
Gets pedigree to ancestors of provided group leaving uninformative ancestors.
Description
Filters a pedigree down to only the ancestors of the provided group, removing unnecessary individuals from the studbook. This version builds the pedigree back in time starting from a group of probands. This will include all ancestors of the probands, even ones that might be uninformative.
Usage
getProbandPedigree(probands, ped)
Arguments
probands |
a character vector with the list of animals whose ancestors should be included in the final pedigree. |
ped |
datatable that is the |
Value
A reduced pedigree.
Examples
library(nprcgenekeepr)
ped <- nprcgenekeepr::pedWithGenotype
ids <- nprcgenekeepr::qcBreeders
sires <- getPotentialSires(ids, minAge = 1, ped)
head(getProbandPedigree(probands = sires, ped = ped))
[Package nprcgenekeepr version 1.0.7 Index]