as_kinship2_pedigree: Convert pedigree to kinship2 format
Description
Convert pedigree to kinship2 format
Usage
as_kinship2_pedigree(
x,
deceased = NULL,
aff = NULL,
twins = NULL,
hints = NULL
)
Arguments
- x
A ped() object.
- deceased
A vector of labels indicating deceased pedigree members.
- aff
A vector of labels identifying members whose plot symbols should
be filled. (This is typically used in medical pedigrees to indicate
affected members.)
- twins
A data frame with columns id1, id2 and code, passed on to
the relation parameter of kinship2::plot.pedigree().
- hints
An optional list of hints passed on to
kinship2::align.pedigree().
Examples
Run this codex = nuclearPed()
as_kinship2_pedigree(x)
Run the code above in your browser using DataLab