exome_bins_from_txdb {exomePeak2} | R Documentation

## extract exome bins for peak calling given a txdb object

### Description

extract exome bins for peak calling given a txdb object

### Usage

    exome_bins_from_txdb(txdb, window_size = 25, step_size = 25)

### Arguments

`txdb` | A `txdb` object.
`window_size` | An integer valued number of the width of the sliding windows or bins.
`step_size` | An integer valued number of the width of the bin steps.

### Value

A `GRanges` object of exonic bins with the names corresponding to the indexes of bins. A metadata colomn named gene_id is attached to indicate its gene ID, which is provided by the txdb object. The gene IDs are divided into multiple ones if the gene contains exons that belong to different chromosomes and strands.

[Package exomePeak2 version 1.2.0 Index]