Generate annotation features (feature.gr for view3dStructure) from TxDb and Org object.

getFeatureGR(
  txdb,
  org,
  range,
  keytype = "ENTREZID",
  geneSymbolColumn = "SYMBOL",
  cols = seq.int(7)
)

Arguments

txdb

An TxDb object.

org

An OrgDb object.

range

GRanges object. The coordinates.

geneSymbolColumn, keytype

The column names in the OrgDb for key of TxDb and the gene symnbols.

cols

The colors for each gene.

Value

A GRanges object

Examples

# example code