This function calculates the lifetime risk of a specific type of cancer based on genetic and demographic factors using data in the format of the PanelPRO Database.
Arguments
- cancer_type
The type of cancer for which the risk is being calculated.
- gene
The gene of interest for which the risk is being calculated.
- race
The race of the individual.
- sex
The sex of the individual, Female or Male.
- type
The type of penetrance calculation, Net or Crude.
- db
The dataset used for the calculation.