An S3 class constructor of representing Venn plot components.
VennPlotData(x)data source of a VennPlotData object
shapeIdshape id
typetype of shape
nsetsnumber of sets
setEdgea data.frame, the coordinates of set edges, can be retrieved by venn_setedge()
setLabela data.frame, the coordinates of set labels, can be retrieved by venn_setlabel()
regionEdgea data.frame, the coordinates of different regions, can be retrieved by venn_regionedge()
regionLabela data.frame, the centroid of the regions, where region labels anchored, can be retrieved by venn_regionlabel()
setDataa data.frame, the set data provided by user, can be retrieved by venn_set()
regionDataa data.frame, the region data that calculated by ggVennDiagram, can be retrieved by venn_region()