Description Usage Arguments Examples
This function returns a pedigree object (as specified in the kinship2-package) for a given individual by iteratively adding spouses and first degree relatives until a given size is reached.
1 2 |
x |
ID of individual for which a pedigree should be composed. |
df_ind |
A dataframe for genealogical relations providing the variables 'id', 'momid' and 'dadid' |
relate |
A relationshi matrix specifying twin zygosity (1=MZ, 2=DZ, 3=unknown) |
subsample_id |
A vector of IDs (Set 'as.numeric(dimnames(evmat)$id') for IDs with events) |
min_size |
Minimum size of pedigree of interest (Default is 200) |
max_count |
Maximum number of iterations in adding relatives to pedigree |
1 2 3 4 | ## Not run:
grap_ped(1067, df_ped)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.