Description Usage Arguments Value Author(s) Examples
Plot the read counts around baits.
1 2 3 4 5 | plotBaits(cd, pcol = "score", Ncol = "N", n = 16, baits = NULL,
plotBaitNames = TRUE, plotBprof = FALSE, plevel1 = 5, plevel2 = 3,
outfile = NULL, removeBait2bait = TRUE, width = 20, height = 20,
maxD = 1e6, bgCol = "black", lev2Col = "blue", lev1Col = "red",
bgPch = 1, lev1Pch = 20, lev2Pch = 20, ...)
|
cd |
A |
pcol |
The name of the column that contains the score. |
Ncol |
The name of the column that contains counts. |
n |
The number of baits to plot (ignored if |
baits |
The IDs of the baits to plot. |
plotBaitNames |
If |
plotBprof |
If |
plevel1, plevel2 |
Thresholds used on the |
outfile |
If |
removeBait2bait |
If |
width, height |
Passed through to |
maxD |
The maximum (linear) distance each side of the bait to plot (NULL to include the whole chromosome). |
bgCol, lev1Col, lev2Col |
Colours to be used for background points, and for the two stringency levels defined by |
bgPch, lev1Pch, lev2Pch |
Plotting character for background points, and for points exceeding the two stringency levels defined by |
... |
Additional arguments passed to |
Vector of the baitIDs plotted (useful if baitIDs were sampled randomly).
Mikhail Spivakov, Jonathan Cairns, Paula Freire Pritchett
1 2 3 4 5 6 7 | data(cdUnitTest)
##modifications to cdUnitTest, ensuring it uses correct design directory
designDir <- file.path(system.file("extdata", package="Chicago"), "unitTestDesign")
cdUnitTest <- modifySettings(cd=cdUnitTest, designDir=designDir)
plotBaits(cdUnitTest)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.