Description Usage Arguments Details Value Author(s) See Also

View source: R/reportingTools.R

A function to generate Venn diagrams for use within Rmarkdown documents, particularly for those using the Bioconductor BiocStyle package for formatting.

1 2 3 4 5 6 7 8 | ```
vennInLine(
vennlst,
caplst,
cex.venn = 1,
shift.title = FALSE,
reportDirectory = NULL,
...
)
``` |

`vennlst` |
The output from |

`caplst` |
A list of captions to accompany each Venn diagram. |

`cex.venn` |
Adjustment parameter for the numbers in the Venn diagram. The default is usually OK. |

`shift.title` |
Boolean. Should the titles for the Venn diagram be shifted to accommodate long contrast names? |

`reportDirectory` |
Directory containing the Venn diagram. This is usually set by |

`...` |
Allows users to pass arbitrary arguments to lower level functions. |

This function is intended for those who use Rmarkdown documents to present results and who would like to include Venn diagrams showing the overlap between two to four contrasts. The Venn diagrams that are generated include links for each cell of the diagram that will open HTML pages that contain results for the genes that are found within the cell of the Venn diagram.

Please note that this function is tailored specifically for use within Rmarkdown documents, particularly those that use the Bioconductor BiocStyle package. The function call should be present in a code block using the argument results = "asis", because we are directly generating HTML rather than placing a figure.

This function returns the required HTML text to generate the Venn diagram

James W. MacDonald jmacdon@u.washington.edu

`vennPage`

particularly for the example.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.