Create new mating partner in pedigree.
create_mate(partner_info, last_id, carrier_prob, RVfounder)
Data.frame with 1 row. All pedigree information for the individual requiring a new mate, must contain all fields generated by create_pedFile
.
Numeric. The last id used in the pedigree.
Numeric. The carrier probability for all causal variants with relative-risk of disease GRR
. By default, carrier_prob
= 0.002
Logical. Indicates if all pedigrees segregate the rare, causal variant. By default, RVfounder = FALSE
See details.
new_mate_info
the pedigree information for the new mate.
last_id
the updated value of last_id after adding the new mate.