grGeneAnnot: grGeneAnnot

View source: R/genomicRegions.R

grGeneAnnotR Documentation

grGeneAnnot

Description

get gene annotation for a GRanges object using a RegionSetDB region database object by linking to the nearest gene

Usage

grGeneAnnot(
  gr,
  rsdb,
  geneSetName = "genes_protein_coding",
  geneSetCollection = "Gencode",
  maxDist = 1e+05
)

Arguments

gr

GRanges object to liftOver

rsdb

RegionSetDB object containing a region set database from which gene annotation can be retrieved

geneSetName

Name of the region set containng gene annotation in the RegionSetDB

geneSetCollection

Name of the region set collection containng gene annotation in the RegionSetDB

maxDist

maximum distance for matching to nearest gene

Value

data.frame containing information on the nearest gene for each element in gr


demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.