Skip to content

VennDiagram

EwoudEwing edited this page May 10, 2019 · 1 revision

VennDiagram

Description

Plots a Venndiagram of overlap. Based on the limma functions.

Usage

VennDiagram(n_groups = 4, Group1, Group2, Group3, Group4, names_groups, main, legend = F, percentage = F)

Arguments

n_groups The number of groups to compare.

Group1 A vector.

Group2 A vector.

Group3 A vector.

Group4 A vector.

names_groups A vector with a names for each group.

main Plot title.

legend Add a legend to the plot.

percentage Add percentages to each group. Default is False

Value

VennDiagram

Examples

VennDiagram(n_groups = 2,
            Group1 =c("A","B","C","D","E"),
            Group2 =c("A","B","F","G","H"),
            names_groups = c("KO", "WT"),
            main = "Overlap",
            legend = FALSE,
            percentage = FALSE )

Venndiagram

Clone this wiki locally