plot_overlap: Plot Venn diagram

Description Usage Arguments Value Author(s) Examples

View source: R/plot_methods.R

Description

Plot a Venn diagram showing the overlaps among sets of significant feature for a given adjusted p-value threshold. Optionally, the truth can be included as a "perfect" method. Note that maximally five methods (including the truth, if applicable) can be compared.

Usage

1
plot_overlap(cobraplot, ...)

Arguments

cobraplot

A COBRAPlot object.

...

Additional arguments to limma::vennDiagram.

Value

Nothing, displays a graph

Author(s)

Charlotte Soneson

Examples

1
2
3
4
5
6
7
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "overlap")
cobraplot <- prepare_data_for_plot(cobraperf, colorscheme = "Dark2",
                                   incltruth = TRUE)
plot_overlap(cobraplot)

iCOBRA documentation built on April 17, 2021, 6:07 p.m.