LINK - https://organoiddresponse.leandrenash.com/

A cutting-edge scientific simulation platform for studying drug responses in organoids using advanced machine learning and interactive data visualization technologies.
This project provides a web-based interface for simulating and analyzing how organoids respond to various drugs. It combines biological simulation with machine learning predictions to help researchers understand drug effectiveness.
- Interactive Simulation: Real-time visualization of organoid growth patterns
- Drug Response Modeling: Simulate effects of different drug concentrations
- Machine Learning Integration: Predictive modeling of drug effectiveness
- Data Export: Export simulation results for further analysis
- Python 3.11: Primary programming language
- Streamlit: Web interface framework
- Plotly: Interactive data visualization
- Scikit-learn: Machine learning implementation
- NumPy/Pandas: Data manipulation and analysis
-
Simulation Engine (
simulation.py
)- Implements
OrganoidSimulator
class - Uses logistic growth model for organoid simulation
- Handles drug concentration effects
- Generates synthetic data for ML training
- Implements
-
Machine Learning Model (
ml_model.py
)DrugResponsePredictor
class using Random Forest- Feature scaling with StandardScaler
- Handles model training and predictions
- Includes performance metrics
-
Visualization Module (
visualization.py
)- Interactive Plotly graphs
- Growth curve visualization
- Prediction accuracy plots
- Real-time data updates
-
Web Interface (
app.py
)- Streamlit-based dashboard
- Parameter controls in sidebar
- Split view for simulation and ML predictions
- Data export functionality
-
Install dependencies:
pip install streamlit numpy pandas plotly scikit-learn
-
Run the application:
streamlit run app.py
-
Access the interface at
http://localhost:5000
-
Adjust Parameters:
- Drug Concentration (0.0-2.0)
- Growth Factor (0.1-1.0)
- Time Period (10-50)
-
View Results:
- Left panel shows growth simulation
- Right panel displays ML predictions
- Export data using the download button
- Uses logistic growth equation for organoid population
- Incorporates drug concentration effects through inhibition factor
- Generates synthetic data with realistic variations
- Random Forest Regressor for prediction
- StandardScaler for feature normalization
- Train/Test split for model validation
- Real-time prediction updates
- Interactive growth curves
- Comparison between normal and drug-affected growth
- Prediction accuracy visualization
- Real-time updates with parameter changes
- Integration with real experimental data
- Additional ML models for comparison
- 3D visualization of organoid structures
- Advanced parameter optimization
- Optimized for real-time interaction
- Scalable data processing pipeline
- Modular architecture for easy extension
- Comprehensive error handling
MIT License
Created as part of a scientific research simulation platform.