plotInsertSize: Plot Insert Size Samtools Stat section

Description Usage Arguments Examples

View source: R/plots.R

Description

plotInsertSize plots Insert Size (IS) part of output returned by readSamtoolsStats.

Usage

1
2
plotInsertSize(data, samples, log = FALSE, lims = c(0, 400),
  sizeLimit = 0)

Arguments

data

Insert Size (IS)) part of output returned by readSamtoolsStats or formated data frame of values to plot.

samples

vector of samples names from data that are required to be plotted.

log

logical value indicating if data should be log transformed before plotting.

lims

two element vector specifing x-axis limists.

sizeLimit

lower limit on insert size. Data below this limit will be filtered out.

Examples

1
2
IS <- readSamtoolsStats()
plotInsertSize <- function(data, samples, log = FALSE, lims = c(0, 400), sizeLimit = 75)

mcjmigdal/sumsamstats documentation built on July 11, 2021, 10:47 a.m.