Changes:
- Lists with computed sizes are now returned in a single list called
sizes
byupset_data()
- Set sizes are now not filtered by default when selecting intersections by
min_*
ormax_*
criteria. Passfilter_intersections=TRUE
toupset_set_sizes()
to restore the previous behavior - Union sizes are now calculated before data trimming which provides more accurate ratio estimates
- Added examples for Venn diagrams which are now covered by automated tests to protect against regressions
- Removed
upset_data()
intersected
member to avoid needless duplication of the data frames; accesswith_sizes
instead aest
argument ofintersection_size()
and related functions was renamed tomapping
and is now the first positional argumentmin_max_early
argument is no longer required and was removed
New features:
- Annotations can now access data for any of the available modes by adding
upset_mode()
layer. By default the annotations are given data corresponding to the same mode as the mode of the passed in theupset()
call. - It is now possible to display all intersections, even if those are not present in the data by passing
intersections='all'
toupset()
; this is only feasible for <20 sets, but filtering by degree can allow to explore a subset of all intersections when there are many more sets; this is only useful for modes different from the default exclusive intersection. - If filtering leads to no intersections, an informative error is shown (#80)
Bug fixes:
- Modes passed to
upset()
are now also used for sorting and trimming - Size calculation for modes was optimized for better performance
- User-added layers are now shown on top of
intersection_size()
andintersection_union()
- Column names are no longer modified when supplying to
ggplot2
allowing to easily use them in annotations (#82)