Learn R Programming

iCOBRA (version 1.0.2)

plot_overlap: Plot Venn diagram

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

plot_overlap(cobraplot, ...)

Arguments

cobraplot
An COBRAPlot object.
...
Additional arguments to limma::vennDiagram.

Value

  • Nothing, displays a graph

Examples

Run this code
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)

Run the code above in your browser using DataLab