preprocess: Preprocess BED-files with reads to calculate chromosome...

Description Usage Arguments Details Value Author(s) Examples

View source: R/preprocess.R

Description

Given a directory with BED-files describing ChIP-seq reads, makes coverage files (1 pr chromosome) describing tag counts along the chromosomes. Reads in all available BED-files in the given directory is first converted to IRanges objects and saved as RData files. The preprocessing ends by creating one file for each chromosome, with the calculated coverage on the different strands for different BED-files.

Usage

1
preprocess(configPath = "./config.yml", params=list())

Arguments

configPath

Path to a configuration file in YAML format (see config.yml), or NULL.

params

A list of parameters (see details).

Details

The preprocess function computes the chromosome tag-coverage along each chromosome.
Parameters supplied in params can include the following:

Value

Used for its side-effect.

Author(s)

Karl Kornacker <kornacker@midohio.twcbc.com> and Tony Handstad <tony.handstad@gmail.com>

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Run preprocessing using a configuration file in YAML format:
preprocces(configPath = "./config.yml")

# Run preprocessing without using a configuration file:
preprocces(configPath = NULL, params=list(READ.PATH="./tmp",
           COVER.PATH="./chrcovers", READ.WIDTH=100))

## End(Not run)

triform documentation built on April 28, 2020, 7 p.m.