Skip to contents

GGplot2 extension to plot a Venn diagram

Usage

plot_venn(data, ...)

Arguments

data

a tidyproteomics data object

...

passthrough for ggsave see plotting

Value

a (tidyproteomics data-object | ggplot-object)

Examples

library(dplyr, warn.conflicts = FALSE)
library(tidyproteomics)
hela_proteins %>%
   subset(imputed == 0) %>%
   plot_venn()
#> 
#>  Subsetting data: imputed == 0
#>  Subsetting data: imputed == 0 ... done
#>