bedtoolsCoverage: Calculate coverage of a set of bed files over intervals in a...

Description Usage Arguments

Description

bedtoolsCoverage is a wrapper for bedtools intersect -c.

Usage

1
2
3
bedtoolsCoverage(bedFiles, windowfile, windowsize = 25,
  stepsize = windowsize, scalar = "rpm", threads = getOption("threads",
  1L))

Arguments

bedFiles

A character vector of paths to bed files.

windowfile

A string specifying the path to the bed file within which to calculate coverage of beds.

windowsize

Positive integer indicating size of windows used to resize overlapping windows to comply with bedGraph format restriction against overlapping intervals. This only needs to be specified if windows are overlapping and a bedGraph-compliant file is desired.

stepsize

Positive integer indicating size of the steps used to resize overlapping windows to comply with bedGraph format restriction against overlapping intervals. This only needs to be specified if windows are overlapping and a bedGraph-compliant file is desired.

scalar

A number to multiply the read counts by. If "rpm", the read counts will be multiplied by a 1000000/(number of reads) to yield reads-per-million (rpm).

threads

A positive integer specifying how many samples to process simultaneously.


dvera/gyro documentation built on May 15, 2019, 6:18 p.m.