Skip to content

Interactive web application to analyize the survival of Endometrial Cancer

Notifications You must be signed in to change notification settings

XLlobet/ect_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Endometrial Cancer Tool (Demo)

Projects Aim

The Endometrial Cancer Tool (Demo) is a cutting-edge web application designed to statistically analyze this disease survival and generate comprehensive survival plots.

It simplifies the complex process of survival analysis, to easily create statistic plots with no need of previous bioinformatic or statistics knowledge.

Technologies and libraries

  • Python 3.10.12
  • Django 4.2.20
  • Dash 2.18.2
  • Dash Bio 1.0.2
  • Plotly 5.20.0
  • Pandas 2.1.4
  • Scikit.
  • Lifelines 0.27.7
  • HTML.
  • CSS.
  • Bootstrap.
  • jQuery/jQuery-UI

Project

  1. Directory structure.

    All the project directories are named and explained in the next list. At the end of the list there is a structure tree image:

    • ect_demo: This is the main folder that contains the ect_demo project, and the requirements.txt file.

      • ect_demo: This is the project folder that contains the ect_demo and the ect_tool folders, and the survival.csv dataset file.

        • ect_demo: Contains all the settings for the Django project.

        • ect_tool: The Django app called Endometrial Cancer Tool (Demo). Contains all the front-end and back-end code for the Endometrial Cancer Tool (Demo), following the Django project structure specifications.

          • migrations: ECT (Demo) model migrations.
          • static/ect_tool: Contains all the files for styling and event management for ECT (Demo). CSS, images, JavaScript and Bootstrap files.
            • css: All CSS files for ECT (Demo) style.
            • img: Predefined images for ECT (Demo) views.
            • vendor: Folder containing Bootstrap, jQuery and jQuery-UI files.
          • templates/ect_tool: Contains all the HTML templates for the ECT (Demo).
        • survival.csv: Dataset as a CSV file contianing all the Endometrial Cancer data needed for the application.

    • Directory tree structure:

      Directory structure

  2. Location of the main function.

    The main door or function of the project, is the ìndex() function from views.py file from 'ect_demo/ect_demo/ect_tool' folder.

  3. How run the application.

    Install the packages needed using the requirements.txt file.

    pip install -r requirements.txt

    Clone the repository.

    git clone git@github.com:XLlobet/ect_demo.git
    cd ect_demo/ect_demo

    Run the application:

    python3 manage.py migrate
    python3 manage.py runserver

    Visite the app in your brouser at http://127.0.0.1:8000/