showSVG: Show Venn diagram. Automatically called from plotVenn.

Description Usage Arguments Value

Description

Show Venn diagram. Automatically called from plotVenn.

Usage

1
2
3
showSVG(nVennObj, opacity = 0.4, borderWidth = 1, outFile = "",
  systemShow = FALSE, labelRegions = T, showNumbers = T,
  setColors = NULL, fontScale = 1)

Arguments

nVennObj

Object with nVennR information. Can be obtained from a plotVenn call.

opacity

Fill opacity for the sets. Defaults to 0.4.

borderWidth

Width of set borders. Defaults to 1.

outFile

File name to save SVG figure. If empty, a temp file will be created and sent to the graphic device.

systemShow

Show the result in the system SVG viewer (i. e., Inkscape).

labelRegions

Show region identifiers. These are numbers in parentheses inside each region indicating which sets that region belongs to. Defaults to true

showNumbers

Show how many elements belong to each region (large numbers in the figure). Defaults to true

setColors

Vector with the color of each set in order. Color names must be CSS-compatible.

fontScale

Multiplier for font sizes. The font size of both numbers and region labels will be multiplied by this factor. Values larger than 2 will probably make labels clash.

Value

Nothing. Creates a Venn diagram in svg as a side effect.


nVennR documentation built on May 1, 2019, 8 p.m.