Small set of related individuals for testing purposes.
Usage
data("relped")Format
The dataframe is composed of 4 columns:
id1: the first individual identifier,id2: the second individual identifier,code: the relationship between the two individuals,famid: the family identifier. The relationship codes are:1for Monozygotic twin2for Dizygotic twin3for Twin of unknown zygosity4for Spouse relationship
Details
This is a small fictive data set of relation that accompanies the sampleped data set. The aim was to create a data set with a variety of relationships. There is 8 relations with 4 different types of relationships.
Examples
data("relped")
data("sampleped")
pedi <- Pedigree(sampleped, relped)
summary(pedi)
#> $pedigree_summary
#> [1] "Ped object with 55 individuals and 5 metadata columns"
#>
#> $relationship_summary
#> [1] "Rel object with 9 relationshipswith 4 MZ twin, 2 DZ twin, 2 UZ twin, 1 Spouse"
#>
if (interactive()) { plot(pedi) }