Mathematics for Bioinformatics
A count matrix, a probability model, and a fitted regression line each express a mathematical relationship. This section explains how to read those relationships and calculate with them. The examples connect the symbols to gene expression, sequencing reads, fluorescence, and biological networks.
Start with arithmetic and basic Python. The first guides introduce the notation, so you do not need calculus or matrix algebra before you begin. Read the pages in order when the mathematics is new. Each page also links to its prerequisites.
Each guide includes a self-check question with an explained answer and links to free resources for further study. Use the Khan Academy lessons for additional practice. The university courses and numerical references provide more formal explanations when you want greater depth.
How to use the examples
Section titled “How to use the examples”The examples use small invented datasets so that you can inspect every input. They demonstrate a calculation and its assumptions.
Run each page’s Python blocks in order in one session. Pages are independent, so variables do not carry between pages. The examples use Python, NumPy, SciPy, Matplotlib, and scikit-learn where needed.
The companion mathematics directory contains the executable examples. Each page has a runner, and its displayed output and figures come from that runner’s container execution.
Choose a route from your analysis
Section titled “Choose a route from your analysis”| Analysis question | Mathematical route |
|---|---|
| What does a log fold change represent? | Start with powers and logarithms, then read RNA-seq normalization. |
| What does a positive test result tell me? | Read conditional probability, then calculate predictive value with Bayes’ theorem. |
| What does a confidence interval describe? | Work through likelihood and repeated experiments, then read multiple testing. |
| Why does PCA change when measurements are rescaled? | Read vectors and matrices, then PCA geometry and applied PCA. |
| Does a lower fitting error mean better prediction? | Read optimization, then cross-validation. |
Start with notation and data
Section titled “Start with notation and data”Describe uncertainty and change
Section titled “Describe uncertainty and change”The Bayes’ theorem tutorial develops the Probability lesson with a diagnostic test example. It derives positive predictive value from expected counts and compares populations with different disease prevalences.
Connect the mathematics to algorithms
Section titled “Connect the mathematics to algorithms”Apply the foundations
Section titled “Apply the foundations”The statistical analysis section covers experimental comparisons, regression, survival, and multiple testing. The machine learning section covers model evaluation and predictive workflows. These mathematics pages explain the calculations behind those applications.
Information theory, Markov models, and differential equations are extensions beyond this core. The depth needed depends on whether you analyze experiments, develop algorithms, or build mechanistic models.
Why these topics
Section titled “Why these topics”The topic selection draws on published bioinformatics curricula. NC State requires calculus, linear algebra, and experimental statistics. Jena also includes discrete structures, probability, and numerical analysis.
Ghent’s course prerequisites connect matrices, derivatives, and probability to optimization and genomics. The ISCB competency recommendations distinguish the depth required for different professional roles. This section adapts those subjects to practical examples rather than reproducing a degree syllabus.