cpgDensityPlot | R Documentation |
Function to generate a plot of the distribution of sequencing reads CpG densities.
## S4 method for signature 'GRangesList'
cpgDensityPlot(x, cols=rainbow(length(x)), xlim=c(0,20), lty = 1, lwd = 1, main="CpG Density Plot", verbose=TRUE, ...)
x |
A |
cols |
The line colour for each element of |
xlim |
|
lty |
The line type for each element of |
lwd |
The line width for each element of |
main |
|
verbose |
Print details of processing. |
... |
Arguments passed into |
See cpgDensityCalc
for details of options for calculating the CpG density.
A plot is created. The data processed by cpgDensityCalc
is invisibly returned.
Aaron Statham
if(require(BSgenome.Hsapiens.UCSC.hg18))
{
data(samplesList) # Loads 'samples.list.subset'.
cpgDensityPlot(samples.list.subset, seq.len=300, organism=Hsapiens, lwd=4, verbose=TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.