Learn R Programming

CNEr (version 1.8.3)

makeGRBs: makeGRBs

Description

Make Genomic Regulatory Blocks (GRBs) boundaries prediction from a set of CNEs.

Usage

makeGRBs(x, winSize=NULL, genes=NULL, ratio=0.5)

Arguments

x
GRangesList object of a set of CNEs to use.
winSize
integer: the smoothing window size for CNE densities in kb. This value depends on the genome size of the reference genome. A larger genome requires bigger windows size. For instance, 300kb is the appropriate windows size for human genome. By default, it is determined internally based on the genome size.
genes
NULL or GRanges object: the protein-coding genes ranges.
ratio
numeric(1) between 0 and 1: the threshold to control the stringency of the GRBs. Higher value, shorter and fewer GRBs, and vice versa.

Value

A GRanges object with GRB coordinates is returned.

Details

First we calculated the CNE densities from the CNEs. Then we segment the regions according to the value of CNE densities. The regions with CNE densities above the expected CNE densities * ratio are consider as putative GRBs. As last step, the putative GRBs that do not encompass any gene are filtered out.

Examples

Run this code
  ## Not run: 
#     ## Add example CNEs to make an example.
#   ## End(Not run)

Run the code above in your browser using DataLab