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)

mayoverse/kinship2 documentation built on July 4, 2023, 1:11 a.m.