huyhong / risk-models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color Risk Models

Color genomics risk models

Background

The Claus risk model is a model of breast cancer risk from familial data. The paper publishes tables that map risk percentages based on each family member's relationship and cancer onset ages

This project is a python implementation of this paper. Given a patient's family history of cancer diagnosis, it returns the lifetime risk of the patient developing breast cancer assuming he/she is currently cancer-free.

Implementation details

Given the cancer onset ages of each family relationship, the function looks at the risk scores derived from all applicable claus tables and selects the highest one.

Example: For a patient whose mother and two aunt's have developed cancer. The function looks at both the mother + aunt table as well the two second degree relatives table and does each calculation. Depending on the ages of diagnosis, either table can result in higher lifetime cancer risk score.

A key part of calculating remaining risk in the equation specified by the paper is calculating the risk of developing cancer up til patient's current age and conditionally removing that probability from lifetime risk. (As we know the patient is currently cancer-free). One detail of this implementation is that it does a linear interpolation between the age buckets specified in the table.

Example: if patient is age 34 we assume the that risk is half way between the risk, specified at age 29 and age 39

About

License:Apache License 2.0


Languages

Language:Python 100.0%