plotRanges: plotRanges is a function to plot GRanges

View source: R/code.R

plotRangesR Documentation

plotRanges is a function to plot GRanges

Description

Plot each isoform based on gtf/gff information

Usage

plotRanges(
  isoform,
  uORF = NULL,
  shortest3UTR,
  ybottom,
  main = deparse(substitute(x)),
  colCDS = "black",
  col3 = "white",
  col5 = "lightgrey",
  uORF.isoform = NULL
)

Arguments

isoform

Integer, the number of isoform

uORF

The name of the uORF

shortest3UTR

The plotGeneModel will provide this information automatically. Providing the shortest 3UTR range allows this function to decide how to plot the shape of the 3'UTR.

ybottom

The lower ylim for this function.

main

Title for the plot. The gene name is the default.

colCDS

Color for CDS

col3

Color for 3'UTR

col5

Color for 5'UTR

uORF.isoform

uORF isoform number

Value

plot each isoform


hsinyenwu/RiboPlotR documentation built on Sept. 15, 2023, 12:29 a.m.