Learn R Programming

groHMM (version 1.6.0)

averagePlot: 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

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.