ped2df: Convert ped to data.frame

View source: R/ped2df.R

ped2dfR Documentation

Convert ped to data.frame

Description

Convert a pedigree object to adata.frame

Usage

ped2df(ped)

Arguments

ped

Value

A dataframe containing the following columns:affected - id - findex - mindex - sex - affected (optional) - status (optional)

See Also

,

Examples

data(sample.ped)
ped <- with(sample.ped,pedigree(id, father, mother, sex))
ped2df(ped)

sinnweja/kinship2 documentation built on July 8, 2023, 11:26 p.m.