Giter VIP home page Giter VIP logo

sankey-app's Introduction

Sankey App

app app repo

Introduction

This app was developed to visualise treatment patterns in clinical trials. Later it was developed further to now host any kind of data that contain flow patterns that can be visualised with Sankey Diagrams.

How to run the app:

You can run the app in 2 ways:

  • It is deployed with heroku here
  • Run locally with the following R code:
install.packages('shiny') # if shiny not already installed    
shiny::runGitHub('sankey-app', 'GeorgeEfstathiadis', ref = 'main')

Instructions:

Data(csv, excel or sas7bdat) need to be in the following format:

Required Columns

  • USUBJID: Unique subject id for each person.
  • NODE_S: Name of the starting node for the path.
  • NODE_E: Name of the ending node for the path.
  • PATHNO: Number of the path (starting from 1).

Each row is a unique combination of the USUBJID and PATHNO, meaning that it contains information for the link containing a person at a specific path. Thus, the data should include for each unique id where did it start and where it ended at each timepoint (path no.).

Optional Columns

  • PATHNAME: An encoding for the names of each path (e.g. for PATHNO 1, PATHNAME is DAY1 - DAY2). Preferable format is of "{start_timepoint} - {end_timepoint}" for aditional functionality. Make sure PATHNAME is correctly mapped to PATHNO.
  • FILTERS: Any kind of filters to be displayed in the dashboard.

Final Dataset Format example and Sankey output:

sankey-app's People

Contributors

georgeefstathiadis avatar

Stargazers

pokyah avatar

Watchers

James Cloos avatar  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.