as.data.frame.pedigree: data.frame from a pedigree object

View source: R/as.data.frame.pedigree.R

as.data.frame.pedigreeR Documentation

data.frame from a pedigree object

Description

Extract the internal data from a pedigree object into a data.frame

Usage

## S3 method for class 'pedigree'
as.data.frame(x, ...)

Arguments

x

Pedigree object

...

Additional arguments passed to internal methods

Value

A data.frame with the data necessary to re-create the pedigree, minus special relationships.

Author(s)

Jason Sinnwell

See Also

pedigree

Examples

data(sample.ped)
ped <- with(sample.ped,pedigree(id, father, mother, sex, affected))
as.data.frame.pedigree(ped)


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