plotVenn | R Documentation |
Make a Venn diagram from a named list of genes. Uses functions from the VennDiagram package.
plotVenn(
x,
title = "Venn Diagram",
cols = "Dark2",
lty = "blank",
scale = FALSE,
retVals = FALSE
)
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) |
An image of a Venn diagram showing overlaps between groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.