process_data {ggVennDiagram}R Documentation

get plot data

Description

get plot data

Usage

process_data(venn, nsets = NULL, shape_id = NULL, type = NULL)

## S4 method for signature 'Venn'
process_data(venn, nsets = length(venn@sets), shape_id = NULL, type = NULL)

Arguments

venn

a Venn object

nsets

This parameter will be set automatically.

shape_id

apply filter to internal shapes. i.e. shape_id = "601"

type

apply filter to internal shapes. i.e. type = "polygon"

Details

This function will conduct set operations and combine the outputs will stored shapes, thus produce a dataset for plot in next step.

Run 'get_shapes()' to show all the characteristics of available shapes. Run 'plot_shapes()' to view those shapes.

Examples

## Not run: 
 venn = Venn(list(A=1:3,B=2:5,C=4:8))
 data = process_data(venn)

## End(Not run)

[Package ggVennDiagram version 1.5.2 Index]