Main wrapers

Main functions of ‘ggVennDiagram’

ggVennDiagram()

ggVennDiagram main parser

plot_venn()

plot codes

plot_upset()

Plot a upset plot

Shape viewer

methods used to get and view shape data

plot_shapes()

plot all shapes provided by internal dataset

plot_shape_edge()

Plot the set edge of a VennPlotData

get_shapes()

Get all shapes

get_shape_data()

get applicable shape data for Venn object

get_shape_by_id()

Specifying a shape

shapes

shapes: shape data used to setup Venn plot

vensets()

Import venn shape coordinates

VennPlotData object and methods

a S3 class to store Venn sets and shape data

process_data()

get plot data

plotData_add_venn()

join the shape data with set data

VennPlotData()

An S3 class constructor of representing Venn plot components.

venn_regionedge() venn_regionlabel() venn_setedge() venn_setlabel() venn_set() venn_region()

Get VennPlotData slot

print(<upsetPlotData>) print(<VennPlotData>)

S3 method for upsetPlotData

Venn object and methods

a S4 class to store Venn sets and calculate subsets

Venn() show(<Venn>)

Venn is a S4 class to represent multiple sets.

process_set_data() process_region_data()

Prepare Venn data

venn_regionedge() venn_regionlabel() venn_setedge() venn_setlabel() venn_set() venn_region()

Get VennPlotData slot

subset processing

helper functions to calculate subset members

combinations()

all possible combinations of n sets

all_identical()

All members of a list have the same elements

discern_overlap()

Calculate region of sets

discern()

Set difference.

overlap()

Intersection of many sets.

unite()

Union of many sets.

slice_idx()

check and format slice name

Upset plot utility

helper function for upset plot

process_upset_data()

process upset data

separate_longer_delim()

Implement of tidyr::separate_longer_delim

Shiny app

run a Shiny app to plot

launch_app()

Launch Reactor Data Shiny App