Returns the average profile of tiling array probe intensity values or wiggle-like count data centered on a set of genomic positions (specified by 'Peaks').

Description

Supports parallel processing using mclapply in the 'parallel' package. To change the number of processors, use the argument 'mc.cores'.

Usage

1
averagePlot(ProbeData, Peaks, size = 50, bins = seq(-1000, 1000, size))

Arguments

ProbeData

Data.frame representing chromosome, window center, and a value.

Peaks

Data.frame representing chromosome, and window center.

size

Numeric. The size of the moving window. Default: 50 bp.

bins

The bins of the meta gene – i.e. the number of moving windows to break it into. Default +/- 1kb from center.

Value

A vector representing the 'typical' signal centered on the peaks of interest.

Author(s)

Charles G. Danko and Minho Chae

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.