visualize: AS event and pathway visualization

Description Usage Arguments Value References Examples

View source: R/visualize.R

Description

Visualize AS event or pathway. If an AS event node is given, the function modified from the plotTranscripts function in the maser package is used to visualize the event. If a pathway node is given, a subnetwork pertaining to the pathway is visualized.

Usage

1
visualize(object, node, zoom = NULL, n = NULL)

Arguments

object

Object of class ASpediaFI

node

the name of AS event or pathway

zoom

a logical to determine if genomic coordinates are zoomed (for AS event visualization)

n

the number of genes and AS events to be shown (for pathway visualization)

Value

a plot demonstrating AS event or pathway

References

Veiga, D. (2019). maser: Mapping Alternative Splicing Events to pRoteins. R package version 1.2.0. https://github.com/DiogoVeiga/maser

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Visualize AS event
visualize(GSE114922.ASpediaFI,
    node = as.table(GSE114922.ASpediaFI)$EventID[1],
    zoom = FALSE
)

# Visualize pathway
visualize(GSE114922.ASpediaFI, node = 'HALLMARK_HEME_METABOLISM', n = 10)

## End(Not run)

nachoryu/ASpediaFI documentation built on April 6, 2020, 10:49 a.m.