getGeneRegionById-GvizManager-method: getGeneRegionById-methods

Description Usage Arguments Value Author(s)

Description

Retrieve the coordinates of a gene given the gene identifier

Usage

1
2
3
## S4 method for signature 'GvizManager'
getGeneRegionById(object, id, offsetUp = 0.1,
  offsetDown = 0.1, type = "ensembl")

Arguments

object

GvizManager object

id

character specifying the gene id for which coordinates should be retrieved

offsetUp

offset for retrieving a flanking region upstream of the gene. Can be an integer (e.g. 5L) for the absolute number of bases or a double that specifies the relative length of the gene

offsetDown

offset for retrieving a flanking region downstream of the gene. Can be an integer (e.g. 5L) for the absolute number of bases or a double that specifies the relative length of the gene

type

type of identifier. currently only 'ensembl' and 'ensembl_long' are supported

Value

a GRanges object containing the gene coordinates

Author(s)

Fabian Mueller


demuellae/muGvizAnnotation documentation built on May 30, 2019, 2:09 p.m.