Description Usage Arguments Examples
View source: R/MarkdownReportsDev.R
Save venn diagrams. Unlike other ~vplot funcitons, this saves directly into a .png, and it does not use the dev.copy2pdf() function.
1 2 3 4 5 6 7 8 9 10 11 12 13 | wvenn(
yourlist,
imagetype = "png",
alpha = 0.5,
fill = 1:length(yourlist),
subt,
...,
w = unless.specified("b.defSize", 7),
h = w,
mdlink = ww.set.mdlink(),
plotname = substitute(yourlist),
openFolder = T
)
|
yourlist |
The variable to plot. |
imagetype |
Image format, png by default. |
alpha |
Transparency, .5 by default. |
fill |
Background color vec |
subt |
Subtitle |
... |
Pass any other parameter of the corresponding venn.diagram() function(most of them should work). |
w |
Width of the saved pdf image, in inches. |
h |
Height of the saved pdf image, in inches. |
mdlink |
Insert a .pdf and a .png image link in the markdown report, set by "path_of_report". |
plotname |
Manual plotname parameter |
openFolder |
open current directory (=working if setup_MarkdownReports('setDir=T')) |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.