ped2DF {pedigreeTools} | R Documentation |
Convert a pedigree to a data frame
Description
Express a pedigree as a data frame with sire
and
dam
stored as factors. If the pedigree is an object of
class pedinbred then the inbreeding coefficients are
appended as the variable F
Usage
ped2DF(x)
Arguments
x |
Value
a data frame
Examples
ped <- pedigree(sire = c(NA, NA, 1, 1, 4, 5),
dam = c(NA, NA, 2, NA, 3, 2),
label = 1:6)
ped2DF(ped)
[Package pedigreeTools version 0.2 Index]