Small sample pedigree data set for testing purposes.
Usage
data("sampleped")
Format
A data frame with 55 observations, one line per subject, on the following 7 variables.
famid
: Family identifierid
: Subject identifierdadid
: Identifier of the father, if the father is part of the data set; zero otherwisemomid
: Identifier of the mother, if the mother is part of the data set; zero otherwisesex
:1
for male or2
for femaleaffected
:1
or0
avail
:1
or0
num
: Numerical test variable from 0 to 6 randomly distributed
Details
This is a small fictive pedigree data set, with 55 individuals in 2 families. The aim was to create a data set with a variety of pedigree structures.
Examples
data("sampleped")
pedi <- Pedigree(sampleped)
summary(pedi)
#> Pedigree object with
#> [1] "Ped object with 55 individuals and 13 metadata columns"
#> [1] "Rel object with 0 relationshipswith 0 MZ twin, 0 DZ twin, 0 UZ twin, 0 Spouse"
if (interactive()) { plot(pedi) }