enrichmentPlot | R Documentation |
Function to generate a plot of the distribution of sequencing reads enrichments.
## S4 method for signature 'GRangesList'
enrichmentPlot(x, seq.len, cols = rainbow(length(x)),
xlim = c(0, 20), main = "Enrichment Plot", total.lib.size = TRUE, verbose = TRUE, ...)
x |
A |
seq.len |
The fragment size to be used for extending the sequencing reads. |
cols |
The line colour for each element of |
xlim |
|
main |
|
total.lib.size |
Whether to normalise enrichment values to the total number of reads per lane. |
verbose |
Print details of processing. |
... |
Additional graphical parameters to pass to |
See enrichmentCalc
for details of how the results are determined.
A plot is created. The data processed by enrichmentCalc
is invisibly returned.
Aaron Statham
data(samplesList) # GRangesList of reads 'samples.list.subset'
enrichmentPlot(samples.list.subset, seq.len = 300, total.lib.size = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.