createControlRegions {RCAS} | R Documentation

## createControlRegions

### Description

Given a GRanges object of query regions, create a background set of peaks that have the same length distribution based on the flanking regions of the peaks.

### Usage

    createControlRegions(queryRegions)

### Arguments

`queryRegions` | GRanges object containing coordinates of input query regions imported by the `importBed` function.

### Value

GRanges object that contains the same number of regions as query regions

### Examples

    data(queryRegions)
    controlRegions <- createControlRegions(queryRegions = queryRegions)

[Package RCAS version 1.12.0 Index]