Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

build_shape

Helper function to add shape


Description

Helper function to add shape

Usage

build_shape(
  edge,
  label,
  nsets = length(edge),
  shape_id,
  type = c("ellipse", "triangle", "polygon", "circle")
)

Arguments

edge

a list of xy matrix

label

a list of xy matrix

nsets

2:7

shape_id

a unique id

type

c("ellipse","triangle","polygon","circle")

Value

a tibble with columns: nsets, type, shape_id, component, id, xy.


ggVennDiagram

A 'ggplot2' Implement of Venn Diagram

v1.1.0
GPL-3
Authors
Chun-Hui Gao [aut, cre] (<https://orcid.org/0000-0002-1445-7939>), Guangchuang Yu [ctb] (<https://orcid.org/0000-0002-6485-8781>), Adrian Dusa [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.