sg_drawjuncs: add junction annotations to base ggplot2 object for...

Description Usage Arguments Author(s)

View source: R/splicegrahm-helpers.R

Description

add junction annotations to base ggplot2 object for splicegrahm plot

Usage

1
2
sg_drawjuncs(sg_obj, sg_df, j_incl, use_blk, iflip, gr_e, gr_j, vals_j, n, p_j,
  highlight, mirror = FALSE, same_scale_n = n)

Arguments

sg_obj

ggplot object created by sg_drawbase

sg_df

data.frame output from sg_create

j_incl

see splicegrahm documentation

use_blk

see splicegrahm documentation

iflip

logical values whether the plotting should be reversed

gr_e

GenomicRanges for exons

gr_j

GenomicRanges for junctions

vals_j

matrix of junction coverages

n

number of samples in vals_e, vals_j

p_j

number of junctions in gr_j

highlight

see splicegrahm documentation

mirror

logical whether model should be flipped on vertical axis (defualt = FALSE)

same_scale_n

number of samples that should be used to set vertical scaling of splicegrahm2 plot (if splicegrahm2 parameter same_scale = FALSE, then simply n) (default = n)

Author(s)

Patrick Kimes


pkimes/spliceclust documentation built on Jan. 2, 2020, 4:44 a.m.