What is an algorithm?

In the case of predictive genetic tests, an algorithm is a mathematical formula that integrates different elements such as genetic predisposition, and personal and external risk factors. Each element has a “specific weight” that the algorithm considers to calculate a person’s overall risk of developing a disease.