plotRegionGeneAssociations-GreatObject-method.Rd
Plot region-gene associations
# S4 method for GreatObject
plotRegionGeneAssociations(object, term_id = NULL, which_plot = 1:3)
A GreatObject-class
object returned by great
.
Term ID.
Which plots to draw? The value should be in 1, 2, 3
. See "Details" section for explanation.
There are following figures:
Association between regions and genes (which_plot = 1
).
Distribution of distance to TSS (which_plot = 2
).
Distribution of absolute distance to TSS (which_plot = 3
).
obj = readRDS(system.file("extdata", "GreatObject.rds", package = "rGREAT"))
plotRegionGeneAssociations(obj)