2022-11-11
Maintenance:
size
→ linewidth
migration for now to retain compatibility with older ggplot2 versionsinherits
to satisfy CRAN checks2022-11-11
Enhancements:
tibble
s in arrange_venn
, thanks @maximilian-heeg! #159Maintenance:
width=0.9
to workaround change of behaviour in ggplot2 3.4 overextending the width of bars highlighted with upset_query
size
to linewidth
transition2021-12-07
Bug fixes:
intersections='all'
mode follow the same behavior as the bar plot #1442021-12-06
Bug fixes:
group_by='sets'
. The old behavior of not displaying degree zero intersection can be achieved by using min_degree=1
argument #1432021-08-04
Fixes:
guide="none"
instead of guide=FALSE
to silence ggplot2 deprecation warning, thanks @MilouArts! #1292021-06-06
Changes:
upset_query()
#115Bug fixes:
geom_segment
in intersections matrix showing up with an outline #113upset_query()
which was sometimes not behaving as expected #1232021-04-25
Bug fixes:
arrange_venn()
function #1162021-04-03
Bug fixes:
encode_sets=TRUE
#110Major improvements:
intersect
argument to obtain the intended result any longer #109geom_segment()
can now be customised with new function: upset_stripes()
#111Minor improvements:
intersections
argument #109intersections
argument includes sets not specified in intersect
, a warning will be issued and execution will proceed as if those were included in intersect
#109intersections
argument, those will be highlighted and plotting will be aborted #1092021-01-13
New features:
intersections = list('Drama', c('Comedy', 'Romance'))
intersections = list('Drama', c('Comedy', 'Romance'))
and sort_intersections = FALSE
2021-01-05
Bug fixes:
intersections = 'all'
max_combinations_n
fail-safe was replaced by a more useful max_combinations_datapoints_n
with more precise error messagemax_degree = 0
is now accepted again2021-01-04
Bug fixes:
2021-01-04
Bug fixes:
intersections='all'
now correctly accounts for all observations (#89)2020-12-30
Changes:
sizes
by upset_data()
min_*
or max_*
criteria. Pass filter_intersections=TRUE
to upset_set_sizes()
to restore the previous behaviourupset_data()
intersected
member to avoid needless duplication of the data frames; access with_sizes
insteadaest
argument of intersection_size()
and related functions was renamed to mapping
and is now the first positional argumentmin_max_early
argument is no longer required and was removedNew features:
upset_mode()
layer. By default the annotations are given data corresponding to the same mode as the mode of the passed in the upset()
call.intersections='all'
to upset()
; 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.Bug fixes:
upset()
are now also used for sorting and trimmingintersection_size()
and intersection_union()
ggplot2
allowing to easily use them in annotations (#82)2020-12-20
Changes:
ggplot2
when arranging Venn diagram, allowing to map elements aesthetics details2020-12-20
New features:
exclusive_intersection
(alias distinct
); additional modes are: inclusive_intersection
(alias intersect
), inclusive_union
and exclusive_union
; please read the relevant part of the documentation for details (#78).geom_venn_circle()
, geom_venn_label_region()
, geom_venn_label_set()
, geom_venn_region()
and scales scale_color_venn_mix()
and scale_fill_venn_mix()
; while developed mostly for the documentation needs, it provides unique capability of highlighting relevant regions of the Venn diagram and placing observations within appropriate regions (which allows to demonstrate their attributes with appropriate aesthetics mapping).Changes:
Bug fixes:
upset_set_size()
and intersection_matrix()
will now always go on top (avoiding geoms being hidden underneath)ggplot2
upset_query()
will now throw an informative error when the user forgets to pass any aesthetics (#79)2020-12-06
geom
of upset_set_size()
now accepts geom object (e.g. geom_bar()
) rather than a function (e.g. geom_bar
)upset_set_size()
no longer accepts variadic arguments (...
); please modify the geom
insteadupset_set_size()
are now added on top of stripes, thus properly visibleupset_set_size()
now includes all metadata of the original data frame, enabling to annotate the bars, e.g.:
upset_set_size(geom=geom_bar(aes(fill=mpaa, x=group)))
sort_intersections_by=c('degree', 'cardinality')
(#47)dot_size
argument was removed. Use matrix=intersection_matrix(geom=geom_point(size=5))
instead2020-12-06
group_by
(#12)upset_set_size(position='right')
guides='over'
can be now passed to upset()
to place the legends over the set sizes2020-12-05
2020-12-04
2020-12-04
2020-12-04
upset_set_size()
to enable addition of ggplot2 objects with +
.aes_percentage()
2020-12-04
print()
(#53)2020-12-03
Including versions 0.6.0 - 0.6.2.
+
(#67, #27, #61)n_intersections
parameter (#70)2020-11-08
group_by
argument (#66)2020-09-21
2020-09-11
min_degree
not working with intersections of size one (#48)2020-09-11
2020-06-18