regionsToIDs: regionsToIDs

Description Usage Arguments Value Author(s)

Description

regionsToIDs

Usage

1
regionsToIDs(x, txdb, where=c("TSS", "gene"), within=100)

Arguments

x

A GRanges of regions of which to obtain the ID of genes contained within

txdb

A TranscriptDb made using makeTranscriptDb from the GenomicFeatures package

where

If "TSS", only genes whose transcription start site overlaps the regions in x are returned. If "gene" the whole gene is considered, not just the TSS.

within

If where is "TSS" then the number of basepairs around each TSS a region from x may overlap to be returned. Ignored if where is "gene".

Value

A character vector containing gene IDs of genes contained within the supplied regions

Author(s)

Aaron Statham


astatham/GOfish documentation built on May 10, 2019, 2:05 p.m.