getRegionGeneAssociations-GreatJob-method | R Documentation |
Get region-gene associations
## S4 method for signature 'GreatJob'
getRegionGeneAssociations(object, ontology = NULL, term_id = NULL,
request_interval = 10, max_tries = 100, verbose = great_opt$verbose)
object |
A |
ontology |
ontology name |
term_id |
Term id in the selected ontology. |
request_interval |
Time interval for two requests. Default is 300 seconds. |
max_tries |
Maximal times for automatically reconnecting GREAT web server. |
verbose |
Whether to show messages. |
A GRanges
object. Please the two meta columns are in formats of CharacterList
and IntegerList
because a region may associate to multiple genes.
Please note, the distance is from the middle points of input regions to TSS.
Zuguang gu <z.gu@dkfz.de>
job = readRDS(system.file("extdata", "GreatJob.rds", package = "rGREAT"))
gr = getRegionGeneAssociations(job)
gr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.