summarizeQueryRegions: summarizeQueryRegions

Description Usage Arguments Value Examples

View source: R/report_functions.R

Description

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

Usage

1

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

1
2
3
4
5
data(gff)
data(queryRegions)
txdbFeatures <- getTxdbFeaturesFromGRanges(gffData = gff)
summary <- summarizeQueryRegions(queryRegions = queryRegions,
                                 txdbFeatures = txdbFeatures)

RCAS documentation built on Nov. 8, 2020, 8:03 p.m.