Learn R Programming

GreyListChIP (version 1.4.0)

makeGreyList-methods: Generate a grey list from a GreyList object

Description

Create the actual grey list, based on the threshold calculated by calcThreshold and the read counts from countReads.

Usage

makeGreyList(obj,maxGap=16384)

Arguments

obj
The GreyList object to create the list for.
maxGap
If the distance between neighbouring grey regions is less than or equal to maxGap, the regions will be merged into one big region.

Value

GreyList, with the regions added.

Details

Create the grey list as a GRanges object. Merge grey regions if they are separated by up to maxGap bp.

See Also

GreyList, GRanges

Examples

Run this code
# load a pre-built GreyList object:
data(greyList)

# calculate the actual regions:
gl <- makeGreyList(gl)

Run the code above in your browser using DataLab