getReactomeDiagram: Display the enriched Reactome diagram of the given Reactome...

View source: R/plot.R

getReactomeDiagramR Documentation

Display the enriched Reactome diagram of the given Reactome pathway id. This function is specific to only one pathway id and identifies the enriched genes in the diagram.

Description

Display the enriched Reactome diagram of the given Reactome pathway id. This function is specific to only one pathway id and identifies the enriched genes in the diagram.

Usage

getReactomeDiagram(mrnaObject, pathway, imageFormat)

Arguments

mrnaObject

Output of enrichment results

pathway

Reactome pathway term

imageFormat

Image format of the diagram. Possible image formats are 'png', 'svg'

Value

Shows reactome diagram marked with an enriched genes in a browser

Examples

## Not run: 
br_enr<-reactomeEnrichment(genes = breastmRNA,org_assembly='hg19')

getReactomeDiagram(mrnaObject = br_enr,pathway = br_enr@ID[1],
                   imageFormat = 'png')
                   
## End(Not run)


guldenolgun/NoRCE documentation built on Oct. 21, 2022, 11:48 a.m.