{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Tumor growth modeling\n", "This practical session is intended to explore tumor growth data and interpret it using mathematical models. It is divided into three parts (only the first two parts will be covered in this session):\n", "1. Analysis of the data by basic plots\n", "2. Fitting and comparing tumor growth models to the data in order to understand **tumor growth laws**\n", "3. Using the model(s) to **predict** future tumor growth with only a limited number of initial data points\n", "\n", "The data provided consists of measurements of tumor volumes from tumors implanted subcutaneously in the back of mice. The cells are from a murine lung cancer cell line (Lewis Lung Carcinoma). The volumes were computed from two one dimensional measures recorded using a caliper (the length $L$ and width $w$) and using the formula $V = \\frac{1}{2}L\\times w^2$. Volumes are given in mm$^3$ as a function of days following injection of the cells ($10^6$ cells $\\simeq$ 1 mm$^3$ injected on day 0.\n", "\n", "Are you ready to start your exploration? \n", "\n", "Good luck on your adventure! :)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# 1. Data analysis" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Import modules" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "% matplotlib inline" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Load the data file ``data_table.xlsx`` as a pandas Dataframe and display it" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Extract the time vector" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Plot the growth of the first three mice." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Plot all tumor growth on the same panel" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Plot the average of the data with error bars as standard deviations" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "From the individual plots, what tumor growth pattern/equation would you suggest? How could you simply graphically test it? What do you conclude?" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 }