Loading repository data…
Loading repository data…
peytoncchen / repository
Stanford Appel Lab - Study Pharmacokinetics Project: Pharmacokinetic data modeling and visualization tool. Primary usage for drug delivery studies. Python supporting files and an example Jupyter Notebook for configuring custom PK analysis
This repo contains the supporting files for the pharmacokinetic data modeling and visualization tool written in HTML, CSS, and JavaScript. You can find the code for that app here. You will find 2 main files of interest here:
calc_k.pypk_example.ipynbcalc_k.py is not meant for user to run. It is simply a place to document and explain the code run in pyodide in the web application. The code cannot and will not run in a standard Python environment. It references many JavaScript related things that normal Python does not support.
pk_example.ipynb is meant as an example for the user to run. The code is documented and is meant for the user to customize to their needs. As it stands, it is functioning on my sample dataset and sample inputs inside a Jupyter Notebook.
To run this Jupyter Notebook:
git clone https://github.com/peytoncchen/PK-Py
python3 -m venv NameOfVenv
source venv/bin/activate
pip install numpy pandas scipy matplotlib jupyter
or
python3 -m pip install numpy pandas scipy matplotlib jupyter
jupyter notebook
The code for this application is open source and can be downloaded and modified as you wish.
This application is licensed under the MIT License. See LICENSE.txt for more details.