Description Usage Arguments Value Examples
plot overlapping histograms of the model distribution and the actual distribution of reads
1 | plotDist(rdo,xmax,filename,windSize)
|
rdo |
a readDepth object created with new("rdObject") |
xmax |
the scale of the xaxis goes from 0 until this value (default 2000) |
filename |
the output file (default "output/hist.pdf") |
windSize |
the window size for the histogram to use (default 20) |
a histogram that helps determine how well the model fits the data
1 2 3 4 5 6 7 8 9 10 11 12 | ##get regions of CN gain and loss
# rdo <- readDepth(x)
##does the model fit well
# plotDist(rdo)
##does it fit better after mapability correction?
# rdo2 = rd.mapCorrect(rdo)
# plotDist(rdo2)
##adjust the graphical params for a different view
# plotDist(rdo2, 1000, "output/postMapCorrect.pdf", 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.