plotAS: Plotting a AS event.

Description Usage Arguments Value Examples

View source: R/AStrap.R

Description

Visualization of AS events of different AS types, including AltA, AltD, ES, IR.

Usage

1
plotAS(ASevent, id = 1)

Arguments

ASevent

A list of AS events.

id

The ID of AS events.

Value

This function retures a picture of AS event.

Examples

1
2
3
4
5
6
7
8
##Load example data
load(system.file("data","sample_ASresult.Rdata",package = "AStrap"))
##Visualization of AS events of different AS types
library(Gviz)
plotAS(result$ASevent, id = 1)
plotAS(result$ASevent, id = 7)
plotAS(result$ASevent, id = 13)
plotAS(result$ASevent, id = 21)

BMILAB/AStrap documentation built on Nov. 20, 2020, 4:03 p.m.