plot_jade: Plot a JADE fit

Description Usage Arguments Value

Description

Plot a JADE fit

Usage

1
2
3
4
plot_jade(fits, pos, y = NULL, reads = NULL, cols = NULL, range = NULL,
  wsize = 10, maxcov = Inf, take.log.cov = FALSE, maxwidth = 3,
  minwidth = 0.5, ylim = NULL, sep.tab = NULL, ylab = NULL,
  xlab = "Position", bg.color = "blue")

Arguments

fits

A p by K matrix of fitted values (the fits) element of a JADE fit object.

pos

Vector of positions.

y

A p by K matrix of data. Optional. If provided, data points will be added to the plot. Data can be plotted by itself using the plot_data function.

reads

A p by K matrix of read counts or an indication of the relative amount of data for each element of y. Line widths will be proportional to reads.

wsize

Window size used to determine line widths.

sep.tab

A table giving regions which are separated. This can be obtained using get_separated_regions.

Value

A ggplot object for the desred plot.


jean997/jadeTF documentation built on May 18, 2019, 11:44 p.m.