getRegionGeneAssociations-GreatObject-method | R Documentation |
Get region-gene associations
## S4 method for signature 'GreatObject'
getRegionGeneAssociations(object, term_id = NULL, by_middle_points = FALSE,
use_symbols = TRUE)
object |
A |
term_id |
Term ID. |
by_middle_points |
Whether the distances are calculated from the middle points of input regions? |
use_symbols |
Whether to use gene symbols |
A GRanges
object. Please the two meta columns are in formats of CharacterList
and IntegerList
because a region may associate to multiple genes.
obj = readRDS(system.file("extdata", "GreatObject.rds", package = "rGREAT"))
getRegionGeneAssociations(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.