DrawVenn: Function based on the VennDiagram package with some...

View source: R/vennDiag.R

DrawVennR Documentation

Function based on the VennDiagram package with some customisations. Data.frames are accepted, the venn diagram compares then the colnames or rownames Allows the use of non-ascii characters

Description

Function based on the VennDiagram package with some customisations. Data.frames are accepted, the venn diagram compares then the colnames or rownames Allows the use of non-ascii characters

Usage

DrawVenn(..., a, b, c, d, e, names, fills, cols, titlelab, fig = TRUE,
  type = "vec", titlesize, xlwd = 2, xlty = "solid", xalpha = 0.3)

Arguments

...

Any non-explicit parameter of the function accepted by VennDiagram::venn.diagram

a

First set

b

Second set

c

Third set

d

Fourth set

e

Fifth set

names

Names that will be outputed on the plot

fills

Colors associated with each set which fill the areas

cols

Colors associated with each set which will delimit the areas

titlelab

Title of the plot

fig

boolean; whether if the plot should be directly printed or just sent back as an object

type

How the data is structured and should be compared. vec: comparison occurs on the content of the respective vectors; namedV: the names of the vector should be compared; rownames: the row.names of the respective data.frames are used for the comparison; colnames: the col.names of the respective data.frames are used for the comparison.

titlesize

Size of the title

xlwd

Numeric vector giving the width of each circle's circumference

xlty

Numeric vector giving the dash pattern of each circle's circumference

xalpha

Numeric vector giving the alpha transparency of each circle's area

Value

sends back a plot object, which can be directly printed as well.


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.