bt.unionbedg: Combines multiple BedGraph files into a single file, allowing...

View source: R/bt.unionbedg.R

bt.unionbedgR Documentation

Combines multiple BedGraph files into a single file, allowing coverage comparisons between them.

Description

Combines multiple BedGraph files into a single file, allowing coverage comparisons between them.

Usage

bt.unionbedg(
  i,
  header = NULL,
  names = NULL,
  g = NULL,
  empty = NULL,
  filler = NULL,
  examples = NULL,
  output = NULL
)

Arguments

i

FILE1 FILE2 .. FILEn Assumes that each BedGraph file is sorted by chrom/start and that the intervals in each are non-overlapping.

header

Print a header line. (chrom/start/end + names of each file).

names

A list of names (one/file) to describe each file in -i. These names will be printed in the header line.

g

Use genome file to calculate empty regions. - STRING.

empty

Report empty regions (i.e., start/end intervals w/o values in all files). - Requires the '-g FILE' parameter.

filler

Use TEXT when representing intervals having no value. - Default is '0', but you can use 'N/A' or any text.

examples

Show detailed usage examples.

output

Output filepath instead of returning output in R.


PhanstielLab/bedtoolsr documentation built on Aug. 29, 2024, 5:37 p.m.