plotRle: Plotting functions for Rle objects

Description Usage Arguments Details Value Functions Author(s) See Also

View source: R/plotRle.R

Description

These functions provide some functionality to visualize (numeric) Rle (run length encoded) objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## S4 method for signature 'Rle'
boxplot( x, range=1.5, ... )

  ## S4 method for signature 'Rle'
plot( x, y, ... )

  plotRle( x, add=FALSE, offset=0, ylab="values", xlab="position", ... )

  rleboxplot( x, range=1.5, ... )

  rleboxplot.stats( x, coef=1.5, do.conf=TRUE, do.out=FALSE )

Arguments

add

Whether the data should be added to an existing plot.

coef

see help for function boxplot.stats for details.

do.conf

whether confidence intervals should be calculated. See help for function boxplot.stats for more details.

do.out

whether outliers should be returned; see help for function boxplot.stats for more details. Setting this to TRUE for a large Rle object is discouraged.

offset

amount by which the x-position values should be shifted.

range

see help for function boxplot for details.

x

A Rle object.

xlab

the label for the x-axis.

y

Not used.

ylab

the label for the y-axis.

...

Additional arguments to be passed to the plot or points function (like pch for point type, col for the color).

Details

These functions allows to efficiently plot a run-length encoded object.

Value

A plot.

Functions

boxplot

creates a boxplot for a Rle object.

plot

plots a Rle object; this function calls plotRle.

plotRle

plots a (numeric!) Rle object. This function is much more efficient than the standard plot function on Rle objects as, instead of plotting each individual value, it plots just the changes (i.e. the runs).

rleboxplot

creates a boxplot for a Rle object; uses the rleboxplot.stats function to calculate the required values and the bxp for the actual plotting.

rleboxplot.stats

calculates the required statistics to generate a boxplot; works on both, numeric Rle objects or numeric vectors.

Author(s)

Johannes Rainer

See Also

transformTo, plotFeatures


jotsetung/GenomePlotR documentation built on May 19, 2019, 9:41 p.m.