Description Usage Arguments Value Author(s) Examples
Prepare columns for plotting as a Venn Diagram
1 | getVennCounts(data, grpNames, rmRexp)
|
data |
A data.frame or matrix |
grpNames |
Optional. The names of the groups to be plotted |
rmRexp |
Optional. A regular expression to be removed from the group names |
Returns a list with named objects ready to be plotted using draw.quad.venn
, draw.quintuple.venn
and associated functions
Steve Pederson
1 2 | x <- data.frame(a = rbinom(20, 1, 0.5), b = rbinom(20, 1, 0.5))
getVennCounts(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.