/upset-shiny-plotly

UpSet plots from a Shiny app, rendered with Plotly

Primary LanguageR

upset-shiny-plotly

UpSet plots from a Shiny app, rendered with Plotly

Description

A very simple Shiny dashboard, illustrating how to make an upset plot from scratch, rendering using the method of Lex, Gehlenborg et al [1]. It's much simpler than their interactive version, but is an improvement on the static plot produce by UpSetR for Shiny purposes. I've build a similar thing into a module in <a href = "https://github.com/pinin4fjords/shinyngs">Shinyngs, but thought someone might find this standalone code useful.

Additional to the traditional UpSet plot based on the areas of Venn/Euler diagrams where items are essentially assigned to the highest order interaction with which they're involved, this plot also allows a display where ALL items matching a given intersection can be included.

Example data

This is the 'movies.csv' provided with the UpSetR package.

References