plotGenePSI: Boxplots of Percent spliced-in levels for gene events.

Description Usage Arguments Value Examples

View source: R/plotGeneEvents.R

Description

Boxplots of Percent spliced-in levels for gene events.

Usage

1
2
plotGenePSI(events, type = c("A3SS", "A5SS", "SE", "RI", "MXE"),
  show_replicates = TRUE)

Arguments

events

a maser object.

type

character indicating splice type. Possible values are c("A3SS", "A5SS", "SE", "RI", "MXE")

show_replicates

logical, add data points for individual replicates

Value

a ggplot object.

Examples

1
2
3
4
5
path <- system.file("extdata", file.path("MATS_output"), package = "maser")
hypoxia <- maser(path, c("Hypoxia 0h", "Hypoxia 24h"))
hypoxia_filt <- filterByCoverage(hypoxia, avg_reads = 5)
hypoxia_mib2 <- geneEvents(hypoxia_filt, geneS = "MIB2")
plotGenePSI(hypoxia_mib2, type = "SE", show_replicates = TRUE)

DiogoVeiga/maser documentation built on Feb. 10, 2022, 10:10 a.m.