Description Usage Arguments Details Value Author(s) See Also Examples
Plot the histogram of the number of alignments per read.
1 2 3 | makeSegmentCountHistPlots(bamFiles,
pairedMode = c("paired", "first", "second"),
mc.cores = getThreads())
|
bamFiles |
The |
pairedMode |
The |
mc.cores |
The number of threads to use. By default,
we use a internal function |
When it's paired-end reads, the number of alignments is calculated for the whole pair (fragment).
A ggplot
object.
Ge Tan
1 2 3 | bamfile <- system.file("extdata", "ex1.bam", package="Rsamtools",
mustWork=TRUE)
makeSegmentCountHistPlots(bamfile, pairedMode="paired", mc.cores=1L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.