plot_venn | R Documentation |
Plot a venn diagram with VennDiagram package using some nice defaults
plot_venn(x, ...)
## S3 method for class 'matrix'
plot_venn(
x,
add.universe = FALSE,
euler = FALSE,
scaled = FALSE,
filename = NULL,
fontfamily = "sans",
cat.fontfamily = "sans",
main.fontfamily = "sans",
fill = rainbow(ncol(x)),
col = rep("transparent", ncol(x)),
...
)
## S3 method for class 'data.frame'
plot_venn(
x,
euler = FALSE,
scaled = FALSE,
filename = NULL,
fontfamily = "sans",
cat.fontfamily = "sans",
main.fontfamily = "sans",
fill = rainbow(ncol(x)),
col = rep("transparent", ncol(x)),
...
)
## S3 method for class 'list'
plot_venn(
x,
euler = FALSE,
scaled = FALSE,
filename = NULL,
fontfamily = "sans",
cat.fontfamily = "sans",
main.fontfamily = "sans",
fill = rainbow(length(x)),
col = rep("transparent", length(x)),
...
)
x |
matrix of values (similar to what is fed to VennDiagram in limma package). |
... |
additional parameters passed down to venn.diagrama() |
add.universe |
logical; whether to add a group containing all elements. |
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.