10  UpSet Plots

UpSet plot will show the relation between different sets. We adopt the part from intervene () application and modified as required for methylR use.

10.1 How to use

10.1.1 Data upload

  1. Upload: Data can be uploaded as Tab (.txt) or Comma (.csv) or Semicolon (.csv but with ;) separated format. Please look into the example data file. A demo test dataset is running by default and it is available for download by clicking on the “List example data” button. UpSet module takes three types of inputs.

    1. List type data: List data is a correctly formatted csv/text file, with lists of names. Each column represents a set, and each row represents an element (names/gene/SNPs). Header names (first row) will be used as set names.
    2. Binary type data: In the binary input file each column represents a set, and each row represents an element. If a names is in the set then it is represented as a 1, else it is represented as a 0.
    3. Combination/expression type data: Combination/expression type data is the possible combinations of set intersections.
Note

PLEASE NOTE: “OR enter set combinations/expression” has the priority over “Upload file”. If you use the “set combinations”, and then want to “upload file”, please remove the “set combination” from the input box. To see how the “OR enter set combinations/expression” works, please use the example below the box (not the list/binary example file).

10.1.2 Parameters setup

  1. Settings: there are multiple options to display the plot -

    1. select sets: select the dataset from the input data.

    2. Number of intersections to show: Please add the number to calculate the intersection.

    3. Order intersections by: From the drop-down menu, please select the intersection order -

    • Frequency
    • degree
    1. Increasing/Decreasing: Please select the order of the frequency/degree.

    2. Scale intersections: Please select the scale intersection from the drop-down menu -

    • Original,
    • log10,
    • log2
    1. scale sets: Please select the scale intersection from the drop-down menu -
    • Original,
    • log10,
    • log2
    1. Plot width: select the plot width from the slider.

    2. Plot height: select the plot height from the slider.

    3. Bar matrix ratio: select the bar matrix ratio from the slider.

    4. Angle of number on the bar: slider to change the angle of the numbers on the bar.

    5. Connecting point size: change the connecting point size .

    6. Connecting line size: change the connecting line size.

  2. Font & Color: multiple options are included for font and colours -

    1. Select main bar colour: Change colour of the bars of intersection size.

    2. Select set bar colour: Change the set bar colour on the side (set).

    3. Font size of intersection size label: Change the font size of the intersection size.

    4. Set size label font: Change the font size of the set label.

    5. Set size ticks font: Change the tick size (numerical value) on the set size bar.

    6. Intersection size numbers font size: Change the tick size (numerical value) on the intersection set bar.

    7. Set names font size: Change the font size for the set names.

10.2 Result

User can download the figure in different format, PDF, PNG, SVG or TIFF.

UpSet plot

10.3 R packages used

  1. UpSetR
  2. intervene

  1. TO ALL OUR USERS, IF YOU ARE EXPERIENCING ANY TROUBLE WITH THE APP, BEFORE SENDING THE BUG REPORT, PLEASE RESTART THE DOCKER CONTAINER AND TRY AGAIN.↩︎

Copyright © 2022-2023. Massimiliano Volpe and Jyotirmoy Das.