plotVennDiagram {genBaRcode}R Documentation

Plotting a VennDiagram

Description

plotVennDiagramm will create a Venn Diagram ans is based on the VennDiagram package. It accepts a list of BCdat objects and will return a ggplot2 output object.

Usage

plotVennDiagram(
  BC_dat,
  alpha_value = 0.4,
  colrs = NA,
  border_color = NA,
  plot_title = "",
  legend_sort = NULL,
  annotationSize = 5
)

Arguments

BC_dat

a list of BCdat objects.

alpha_value

color transparency value [0-1].

colrs

a character vector containing the desired colors, if NA the colors will be chosen automatically.

border_color

a character value specifying the desired border color, if NA no border will be drawn.

plot_title

a character value.

legend_sort

a character or factor vector in case the order of legend items needs to be changed.

annotationSize

an integer value specifying the venn diagramm internal text size.

Value

ggplot2 object.


[Package genBaRcode version 1.2.7 Index]