Git Product home page Git Product logo

ppis-visualization's Introduction

Required packages: streamlit, pandas, numpy

To run the code:

git clone --branch master [email protected]:Xiyuan0315/PPIs-visualization.git
cd PPIs-visualization/Bin
streamlit run app.py

Project overview

The project aims to develop a high performance website for visualizing and filtering annonated PPIS from Baker’s lab on user’s demand.

Workflow

  1. Preprocessing the table data with re and pandas to format the text, downcast datatype and work with missing data(replace ‘na’ to np.NaN to make datatype consistent)
  2. Display 1505 pairs of yeast PPIs in the body part, and add dynamic filters on it. Notably that we take different actions on continous data and discrete: double end slider for continous data and regex reseaching/multi-selection for discrete data.
  3. Add global searching funcion in sidebar to search on all annotation columns.
  4. Provide two mode for multi-keywords with check box: intersection or union
  5. Implement multi-pages for different function(filter, find homologous genes, explore protein location and get genes in given pathways)

Disccusion

  1. path management: setup.py
  2. variable passing to seperate pages: serialize filtered data as pickle and load again in next page
  3. Make two different filter space works together without duplicated computing: use cache decorater that re-defined in streamlit

Web preview

image

image

image

ppis-visualization's People

Contributors

xiyuan0315 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.