{"id":28317791,"url":"https://github.com/rohitdusane/interactive-ibd-analysis-dashboard-with-dash-plotly","last_synced_at":"2025-06-24T15:32:09.126Z","repository":{"id":283120006,"uuid":"950753000","full_name":"RohitDusane/Interactive-IBD-Analysis-Dashboard-with-Dash-Plotly","owner":"RohitDusane","description":"This repository showcases a project that combines data analysis and visualization through Dash and Plotly. The goal of this project is to offer an efficient and user-friendly way to integrate robust data analysis with an interactive web-based interface.","archived":false,"fork":false,"pushed_at":"2025-04-13T10:08:16.000Z","size":934,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T14:19:10.444Z","etag":null,"topics":["clinical-research","data-analysis","exploratory-data-analysis","pyhton","statistical-reports"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RohitDusane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-18T16:27:13.000Z","updated_at":"2025-04-13T10:08:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e13ca05-ee51-4281-9ddf-23a04e487ba5","html_url":"https://github.com/RohitDusane/Interactive-IBD-Analysis-Dashboard-with-Dash-Plotly","commit_stats":null,"previous_names":["rohitdusane/clinicalreport_dashboard","rohitdusane/interactive-ibd-analysis-dashboard-with-dash-plotly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RohitDusane/Interactive-IBD-Analysis-Dashboard-with-Dash-Plotly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDusane%2FInteractive-IBD-Analysis-Dashboard-with-Dash-Plotly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDusane%2FInteractive-IBD-Analysis-Dashboard-with-Dash-Plotly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDusane%2FInteractive-IBD-Analysis-Dashboard-with-Dash-Plotly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDusane%2FInteractive-IBD-Analysis-Dashboard-with-Dash-Plotly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohitDusane","download_url":"https://codeload.github.com/RohitDusane/Interactive-IBD-Analysis-Dashboard-with-Dash-Plotly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitDusane%2FInteractive-IBD-Analysis-Dashboard-with-Dash-Plotly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261703114,"owners_count":23196899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clinical-research","data-analysis","exploratory-data-analysis","pyhton","statistical-reports"],"created_at":"2025-05-25T06:12:43.097Z","updated_at":"2025-06-24T15:32:09.106Z","avatar_url":"https://github.com/RohitDusane.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IBD Clinical Data Analysis and Visualization Project\n\n## 1. Introduction\n\n### 1.1 Project Overview\nThe purpose of this project is to analyze clinical data related to **Inflammatory Bowel Disease (IBD)**. The goal is to explore relationships between **demographics**, **disease phenotype**, **treatment types**, and **outcomes** through statistical analysis, machine learning models, and visualizations.\n\nThe project involves:\n- Collecting and preprocessing IBD clinical data.\n- Performing **Exploratory Data Analysis (EDA)** to understand the data.\n- Applying statistical tests (T-tests, ANOVA) and logistic regression for analysis.\n- Creating interactive visualizations to analyze the results.\n- Building a **web-based dashboard** for users to interact with the data.\n\n---\n\n## 2. Data Collection\n\n### 2.1 Data Sources\nThe dataset used in this project includes clinical trial data related to **IBD**, and the data is assumed to come from a simulated or real clinical data source. Some common datasets that can be used are:\n- Clinical trials related to IBD (e.g., **clinicaltrials.gov**).\n- Open datasets like **IBD Registry** or datasets available through academic institutions.\n- **Simulated IBD datasets** that mimic clinical trial results.\n\n### 2.2 Dataset Features\nThe dataset contains the following key features:\n- **Demographic Information**: Age, gender, ethnicity.\n- **Disease Phenotype**: Disease severity, location, complications.\n- **Treatment Information**: Type of treatment (medication, surgery), treatment response.\n- **Clinical Outcomes**: Success or failure of the treatment, other clinical measures.\n\n---\n\n## 3. Data Preprocessing\n\n### 3.1 Cleaning the Data\nThe preprocessing steps included:\n- **Handling Missing Values**: Filling missing numerical values with the median and dropping rows with too many missing values.\n- **Feature Engineering**: Adding new features like **age groups** and **disease severity classification**.\n- **Data Transformation**: Converting categorical features into numerical (e.g., encoding **gender** as 0 or 1).\n\n### 3.2 Data Transformation\nWe used one-hot encoding to transform categorical variables like **treatment type** and **age group** for logistic regression modeling.\n\n---\n\n## 4. Exploratory Data Analysis (EDA)\n\n### 4.1 Visualizing Demographics\n- **Age Distribution**: A histogram was used to visualize the distribution of patients’ ages.\n- **Gender Distribution**: Bar charts were used to visualize the gender distribution across different age groups.\n  \n### 4.2 Disease Phenotype\n- A **boxplot** was used to show the relationship between **age groups** and **disease severity**.\n  \n### 4.3 Correlation Analysis\n- A **heatmap** was created to visualize correlations between various numerical features such as age, disease severity, and treatment success.\n\n---\n\n## 5. Statistical Analysis\n\n### 5.1 Bivariate Comparison (ANOVA)\nWe performed an **ANOVA test** to compare disease severity across different **age groups**. The results showed significant differences in disease severity between groups, helping identify which demographic factors influence the disease.\n\n### 5.2 Logistic Regression\nWe applied **logistic regression** to predict the likelihood of **severe disease** based on variables like **age**, **gender**, and **treatment type**. \n- The model's accuracy, precision, recall, and confusion matrix were used to evaluate its performance.\n\n---\n\n## 6. Data Visualization\n\n### 6.1 Visualization Using Plotly\n- An **interactive boxplot** was created to visualize disease severity across different age groups.\n- The graph allows users to filter data based on different age groups, providing a clear visualization of how disease severity varies across different demographics.\n\n### 6.2 Dash Dashboard\nA **Dash-based web app** was developed to allow users to interact with the data. Key features include:\n- **Age Group Selector**: A dropdown for selecting an age group to explore disease severity.\n- **Interactive Graphs**: A dynamic boxplot that updates based on user selection.\n\n---\n\n## 7. Machine Learning Model\n\nWe built a logistic regression model to predict whether a patient’s disease is severe based on certain features:\n- **Features Used**: Age, gender, treatment type.\n- **Evaluation Metrics**: Accuracy, precision, recall, and confusion matrix were used to evaluate the model's performance.\n\n---\n\n## 8. Web Application\n\n### 8 Dash Setup\nWe used **Dash**, a Python web framework for building interactive web applications. The app allows users to:\n- Select age groups to filter data.\n- View interactive plots based on selected filters.\n- Understand the relationships between demographic factors and disease severity.  \n\n### 8.2 Dash App in Python\n- Run the script with python app.py.  \n- Visit http://127.0.0.1:8050/ in your browser to interact with the dashboard.\n\n\n---\n\n## 9. Conclusion and Future Work\n\n### 9.1 Conclusion\nThis project provides valuable insights into the demographics and clinical outcomes of IBD patients. It also demonstrates how to use Python for data preprocessing, statistical analysis, and visualization in the healthcare research domain.\n\n### 9.2 Future Work\n- **Expand Data**: Include more diverse data sources and larger datasets for deeper insights.\n- **Add More Models**: Integrate machine learning models like **Random Forests** or **SVM** for predictive analysis.\n- **Improve Dashboard**: Enhance the web app with more interactivity and additional insights.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitdusane%2Finteractive-ibd-analysis-dashboard-with-dash-plotly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitdusane%2Finteractive-ibd-analysis-dashboard-with-dash-plotly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitdusane%2Finteractive-ibd-analysis-dashboard-with-dash-plotly/lists"}