extractSwitchOverlap: Visualize Switch Overlap

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/test_isoform_switches.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
extractSwitchOverlap(
    switchAnalyzeRlist,
    filterForConsequences = FALSE,
    alpha = 0.05,
    dIFcutoff = 0.1,
    scaleVennIfPossible=TRUE,
    plotIsoforms = TRUE,
    plotSwitches = TRUE,
    plotGenes = 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.

plotIsoforms

A logic indicating whether the Venn diagram of differentially used isoforms should be plotted. Default is TRUE.

plotSwitches

A logic indicating whether the Venn diagram of identified isoform switches should be plotted. Default is TRUE.

plotGenes

A logic indicating whether the Venn diagram of genes containing differentially used isoforms should be plotted. 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

See Also

preFilter
isoformSwitchTestDEXSeq
isoformSwitchTestDRIMSeq
extractTopSwitches
extractSwitchSummary
analyzeSwitchConsequences

Examples

1
2
3
4
# Load example data and prefilter
data("exampleSwitchListAnalyzed")

extractSwitchOverlap(exampleSwitchListAnalyzed)

IsoformSwitchAnalyzeR documentation built on Nov. 8, 2020, 5:36 p.m.