summarizeQueryRegions {RCAS} | R Documentation

## summarizeQueryRegions

### Description

This function counts number of query regions that overlap with different types of gene features.

### Usage

    summarizeQueryRegions(queryRegions, txdbFeatures)

### Arguments

`queryRegions` | GRanges object imported from a BED file using `importBed` function
`txdbFeatures` | List of GRanges objects - outputs of `getTxdbFeaturesFromGRanges` and `getTxdbFeatures` functions

### Value

A data frame with two columns where first column holds features and second column holds corresponding counts

### Examples

    data(gff)
    data(queryRegions)
    txdbFeatures <- getTxdbFeaturesFromGRanges(gffData = gff)
    summary <- summarizeQueryRegions(queryRegions = queryRegions,
                                     txdbFeatures = txdbFeatures)

[Package RCAS version 1.4.4 Index]