extractSwitchOverlap {IsoformSwitchAnalyzeR} | R Documentation

## Visualize Switch Overlap

### Description

This function produces two Venn diagrams respectively showing the overlap in switching isoforms and genes.

### Usage

    extractSwitchOverlap(
        switchAnalyzeRlist,
        filterForConsequences = FALSE,
        alpha = 0.05,
        dIFcutoff = 0.1,
        scaleVennIfPossible=TRUE
    )

### Arguments

`switchAnalyzeRlist` | A `switchAnalyzeRlist` object.
`filterForConsequences` | A logical indicating whether to filter for genes with functional consequences. Requires that analyzeSwitchConsequences() have been run on the switchAnalyzeRlist. The output will then be the number of significant genes and isoforms originating from genes with predicted consequences. Default is FALSE.
`alpha` | The cutoff which the FDR correct p-values must be smaller than for calling significant switches. Default is 0.05.
`dIFcutoff` | The cutoff which the changes in (absolute) isoform usage must be larger than before an isoform is considered switching. This cutoff can remove cases where isoforms with (very) low dIF values are deemed significant and thereby included in the downstream analysis. This cutoff is analogous to having a cutoff on log2 fold change in a normal differential expression analysis of genes to ensure the genes have a certain effect size. Default is 0.1 (10%).
`scaleVennIfPossible` | A logic indicating whether the Venn diagram should be scaled (so the circle area and overlap size reflect the number of features) if possible. Only available for 2- and 3-way Venn Diagrams. Default is TRUE.

### Value

A Venn diagram which shows the number of isoforms and genes with a isoform switch.

### Author(s)

Kristoffer Vitting-Seerup

### References

- Vitting-Seerup et al. The Landscape of Isoform Switches in Human Cancers. Mol. Cancer Res. (2017).

### See Also

`preFilter`
`isoformSwitchTestDEXSeq`
`isoformSwitchTestDRIMSeq`
`extractTopSwitches`
`extractSwitchSummary`
`analyzeSwitchConsequences`

### Examples

    # Load example data and prefilter
    data("exampleSwitchListAnalyzed")

    extractSwitchOverlap(exampleSwitchListAnalyzed)

[Package IsoformSwitchAnalyzeR version 1.10.0 Index]