plotRegionGeneAssociations-GreatObject-method: Plot region-gene associations

plotRegionGeneAssociations-GreatObject-methodR Documentation

Plot region-gene associations

Description

Plot region-gene associations

Usage

## S4 method for signature 'GreatObject'
plotRegionGeneAssociations(object, term_id = NULL, which_plot = 1:3)

Arguments

object

A GreatObject-class object returned by great.

term_id

Term ID.

which_plot

Which plots to draw? The value should be in 1, 2, 3. See "Details" section for explanation.

Details

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).

Examples

obj = readRDS(system.file("extdata", "GreatObject.rds", package = "rGREAT"))
plotRegionGeneAssociations(obj)

jokergoo/rGREAT documentation built on March 28, 2024, 5:31 a.m.