This Flask-based web application generates an interactive volcano plot and box plots using data from an Excel file.
Requirements:
- Python (>=3.8)
- pip
- Miniconda or Anaconda (optional, for virtual environment management)
In your conda virtual environment(suggested):
conda create -n flEnv
conda activate flEnvInstall dependencies by running:
pip install flask pandas numpy matplotlib plotly openpyxlor if using conda:
conda install -c conda-forge flask pandas numpy matplotlib plotly openpyxl- Clone or download the repository containing this project.
- Navigate to the project directory:
cd /path/to/project- Start the Flask app:
python app.pyAlternatively (from app.py level):
flask run- Open your browser and go to:
http://127.0.0.1:5000/plot
- Volcano Plot: Displays a scatter plot of log fold change vs. adjusted p-value.
- Box Plot: Allows visual comparison of protein concentrations for specific genes across young and old donors.
- Interactive UI: Hovering over points reveals gene information.