vennDiagram2: Venn Diagrams

Description Usage Arguments Value Author(s)

Description

Plot classification counts in Venn diagram. This is a replacement for vennDiagram from limma, with xlim and ylim changed in the plot call, and mar=par("mar") to get rid of all of the whitespace around the box

Usage

1
2
3
4
  vennDiagram2(object, include = "both", names,
    mar = par("mar"), cex = 1.5,
    circle.colours = rep("black", 10),
    text.colours = rep("black", 10), ...)

Arguments

object

either a TestResults matrix or a VennCounts object produced by vennCounts.

include

character string, of length one or two, specifying whether the diagram should give counts for genes up-regulated, down-regulated or both. See details. Choices are “both”, “up” or “down”.

names

optional character vector giving names for the sets or contrasts

mar

numeric vector of length 4 specifying the width of the margins around the plot. This argument is passed to par. default = par("mar")

cex

numerical value giving the amount by which the contrast names should be scaled on the plot relative to the default.plotting text. See par. default = cex = 1.5

circle.colours

optional vector of color specifications defining the colors by which the circles should be drawn. See par. default =rep("black", 10)

text.colours

optional vector of color specifications, of same length as include, defining the colors by which the counts should be drawn. See par. default=rep("black", 10)

...

further arguments passed to vennDiagram

Value

none.

Author(s)

Mark Cowley, 14 Dec 2005


drmjc/mjcgraphics documentation built on May 15, 2019, 2:40 p.m.