View source: R/as.data.frame.pedigree.R
| as.data.frame.pedigree | R Documentation | 
Extract the internal data from a pedigree object into a data.frame
## S3 method for class 'pedigree'
as.data.frame(x, ...)
x | 
 Pedigree object  | 
... | 
 Additional arguments passed to internal methods  | 
A data.frame with the data necessary to re-create the pedigree, minus special relationships.
Jason Sinnwell
pedigree
data(sample.ped)
ped <- with(sample.ped,pedigree(id, father, mother, sex, affected))
as.data.frame.pedigree(ped)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.