create GRanges instance with model for a gene

Share:

Description

create GRanges instance with model for a gene

Usage

1
2
3
genemodel(key, keytype, annoResource = Homo.sapiens)
geneTxRange(sym, annoResource = Homo.sapiens)
map2range(maptag="17q12", annoResource = Homo.sapiens)

Arguments

sym

symbol used as key into annoResource with keytype SYMBOL

key

string used as key into annoResource with keytype keytype

maptag

string used as key into annoResource with keytype MAP

keytype

string used as keytype for select with annoResource

annoResource

OrganismDb instance

Details

map2range will obtain all TXSTART and TXEND for genes identified through select with key maptag and return a single range with min TXSTART and max TXEND

Value

a GRanges instance

Note

genemodel revised Aug 10 2015. Direct operations on Homo.sapiens, much faster. geneTxRange added Aug 10 2015.

Examples

1
2
3
genemodel("IL33")
geneTxRange("IL33")
map2range("17q12")