Skip to contents

generate the sashimi plot for the isoform

Usage

sashimi_plot(
  coverage,
  junction,
  filter_ratio = 20,
  color_id = 1,
  region = NULL,
  lwr = 1,
  upr = 5,
  color_set = NULL
)

Arguments

coverage

The base count

junction

The junction count

filter_ratio

Threshold to filter out lowly covered base

color_id

The prdefined color set to use, currently there are two sets

region

The xlab annotation for the sashimi plot

lwr, upr

the lower/upper bound of the range

color_set

a vector to record user defined color set to use, should include two colors, one for the base coverage and the other for the junction connection.

Value

a ggplot object.