Initial checks to disqualify a pedigree from ascertainment.
disqualify_ped(ped_file, num_affected, ascertain_span, first_diagnosis)
An object of class ped
. A pedigree generated by sim_ped
or sim_RVped
, or an object created by the function new.ped
. See details.
Numeric. The minimum number of affected individuals in the pedigree.
Numeric vector of length 2. The year span of the ascertainment period. This period represents the range of years during which the proband developed disease and the family would have been ascertained for multiple affected relatives.
Numeric. The first year that reliable diagnoses can be obtained regarding disease-affection status. By default, first_diagnosis
= NULL
so that all diagnoses are considered reliable. See details.
Logical. If TRUE, pedigree is discarded.