Description Usage Arguments Value
View source: R/PedSim_Functions.R
Create new offspring in pedigree.
1 | create_offspring(dad_info, mom_info, byear, last_id, GRR)
|
dad_info |
Data.frame with 1 row. All pedigree information of offspring's father, must contain all fields generated by |
mom_info |
Data.frame with 1 row. All pedigree information of offspring's mother, must contain all fields generated by |
byear |
The birth year of offspring. |
last_id |
Numeric. The last id used in the pedigree. |
GRR |
Numeric. The genetic relative-risk of disease, i.e. the relative-risk of disease for individuals who carry at least one copy of the causal variant. Note: When simulating diseases with multiple subtypes |
new_child_info the pedigree information for the new child
last_id the updated value of last_id after adding new offspring
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.