This function calculates the age-specific non-carrier penetrance based on SEER baseline data, penetrances for carriers, and allele frequencies. It adjusts penetrance estimates for genetic testing by incorporating the genetic risk attributable to specified alleles.
calculateNCPen(SEER_baseline, alpha, beta, delta, gamma, prev, max_age)
A list containing:
Numeric vector, the weighted risk for carriers at each age based on prevalence.
Numeric vector, the yearly probability of not getting the disease at each age.
Numeric vector, the cumulative probability of not getting the disease up to each age.
Numeric, the baseline penetrance derived from SEER data for the general population without considering genetic risk factors.
Numeric, shape parameter for the Weibull distribution used to model carrier risk.
Numeric, scale parameter for the Weibull distribution used to model carrier risk.
Numeric, location parameter for the Weibull distribution used to model carrier risk.
Numeric, scaling factor applied to the Weibull distribution to adjust carrier risk.
Numeric, the prevalence of the risk allele in the population.
Integer, the maximum age up to which the calculations are performed.