plotVenn: Make a Venn diagram

View source: R/plotVenn.R

plotVennR Documentation

Make a Venn diagram

Description

Make a Venn diagram from a named list of genes. Uses functions from the VennDiagram package.

Usage

plotVenn(
  x,
  title = "Venn Diagram",
  cols = "Dark2",
  lty = "blank",
  scale = FALSE,
  retVals = FALSE
)

Arguments

x

A named list (max length of 5) of characters (genes) to plot in a Venn Diagram

title

Character indicating the title of the plot. Default="Venn Diagram"

cols

Character indicating the RColorBrewer palette name or list of colours (hex, name, rgb()) to be used. Default is "Dark2"

lty

Line type (1=solid line, 2=dashed line, default="blank")

scale

Boolean indicating if circles should be scaled to size (works only for 2 or 3-way Venn diagrams). Default=FALSE.

retVals

Boolean indicating if the overlaps should be returned (default=FALSE)

Value

An image of a Venn diagram showing overlaps between groups


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.