makeFragLengthHistPlot: makeFragLengthHistPlot

Description Usage Arguments Value Author(s) See Also Examples

Description

Make the histogram distribution of fragment lengths estimated from paired-end reads.

Usage

1
2
  makeFragLengthHistPlot(bamFiles, fragSizeMax = 1000L,
                         mc.cores = getThreads())

Arguments

bamFiles

The character() filenames of input bam files.

fragSizeMax

The integer(1) of maximal fragment size to plot.

mc.cores

The number of threads to use. By default, we use a internal function NGS:::getThreads to decide.

Value

A ggplot object.

Author(s)

Ge Tan

See Also

makeAlignmentCountBarPlot

Examples

1
2
3
  bamfile <- system.file("extdata", "ex1.bam", package="Rsamtools",
                         mustWork=TRUE)
  makeFragLengthHistPlot(bamfile, fragSizeMax=500L, mc.cores=1L)

ge11232002/NGS documentation built on May 17, 2019, 12:13 a.m.