upsetjs_r icon indicating copy to clipboard operation
upsetjs_r copied to clipboard

order set names

Open dwill023 opened this issue 1 year ago • 2 comments

Hi, I would like to know if there is a way to manually order the sets. For example in the below pic. my upset plot is ordered by cardinality (from highest to lowest, bottom to top). Can I make it where the sets in purple are on the bottom then the teal sets, yellow then red at top?

Capture

I've tried setting order.by = "degree" in fromList() but that just orders the sets alphabetically.

  • Version:
    • R version 4.2.1
    • upsetjs_1.11.1
  • Browser: Chrome

Thanks!

dwill023 avatar Aug 29 '22 22:08 dwill023