| qHist | R Documentation |
A handy function to plot histogram with display elements of quantile.
qHist(x, quantiles = 0.25, breaks = 100, qlty = 2, qlwd = 2, qcol = "red", ...)
x |
Value to draw the histogram |
quantiles |
Numeric values or |
breaks |
Integer, number of breaks |
qlty |
Type of vertical quantile lines |
qlwd |
Width of vertical quantile lines |
qcol |
Color of vertical quantile lines |
... |
Other parameters that are passed to |
The appends vertical lines and texts to histograms produced by hist.
This can be useful in unspecific filtering of expression data.
The object returned by the hist function, with an extra item
named quantiles.
Jitao David Zhang <jitao_david.zhang@roche.com>
hist
testVal <- rnorm(1000)
hist(testVal)
qHist(testVal, quantiles=c(0.25, 0.75), border="lightgray")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.