plot_overlap {iCOBRA} | R Documentation

## 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` | A `COBRAPlot` object.
`...` | Additional arguments to `limma::vennDiagram`.

### Value

Nothing, displays a graph

### Author(s)

Charlotte Soneson

### Examples

    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)

[Package iCOBRA version 1.20.0 Index]