plotRelPos: Plot relative position bias over samples

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Plots the smooth curves of log fragment rate over relative position.

Usage

1
plotRelPos(fitpar, model, col, lty, ylim)

Arguments

fitpar

a list of the output of fitBiasModels over samples

model

the name of one of the models

col

a vector of colors

lty

a vector of line types

ylim

the y limits for the plot

Value

plot

Examples

1
2
3
4
5
6
# fitpar was fit using identical code
# as found in the vignette, except with
# 25 genes, and with fragment size in 80-350 bp
data(preprocessedData)
perf <- rep(1:2, each=2)
plotRelPos(fitpar, "all", col=perf)

alpine documentation built on Nov. 8, 2020, 7:25 p.m.