How UpsetR Handles Set Ordering and Common Pitfalls
Summary UpsetR orders sets by the total size only when order.by = “freq” and keep.order = FALSE. When you force a custom sets vector and set keep.order = TRUE, the library respects the supplied order — it does not re‑sort by frequency. Root Cause keep.order = TRUE tells UpsetR to preserve the order of the sets argument. … Read more