Description Usage Arguments Value Author(s) Examples
This function does basically the same as just calling plot( vec )
but is much faster in case of a very long vector. This is because it first calls shrinkVector
.
1 | plotLongVector(vec, offset = 1, shrinkLength = 4000, xlab = "", ylab = "", ...)
|
vec |
The numerical vector to be plotted. May be an ordinary or an IRanges::Rle vector. |
offset |
The x axis is labelled with numbers from |
shrinkLength |
To which length to shrink the vector before plotting it. Should be at least the width of your plot in pixels. |
xlab |
The label of the x axis, to be passed to |
ylab |
The label of the y axis, to be passed to |
... |
Further arguments to be passed to |
Invisible Null and a plot.
Simon Anders, EMBL-EBI, sanders@fs.tum.de
1 | plotLongVector( rep( 1:100000, 20 ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.