plotAnalyteOverlapPerRxnLevel: Plots an interactive upset plot of overlapping input...

View source: R/plottingFunctions.R

plotAnalyteOverlapPerRxnLevelR Documentation

Plots an interactive upset plot of overlapping input compounds at reaction class level 1

Description

Plots an interactive upset plot of overlapping input compounds at reaction class level 1

Usage

plotAnalyteOverlapPerRxnLevel(reactionsResults, includeCofactorMets = FALSE)

Arguments

reactionsResults

output of getReactionsForAnalytes()

includeCofactorMets

include metabolites labeled at cofactors within ChEBI (Default = FALSE)

Value

An interactive HTML upset plot that allows the user to visualize the overlap in the number of input compounds across level 1 of reaction classes.

Examples

## Not run: 
analytes.of.interest = c('chebi:58115', 'chebi:456215', 'chebi:58245', 'chebi:58450',
'chebi:17596', 'chebi:16335', 'chebi:16750', 'chebi:172878',
'chebi:62286', 'chebi:77897', 'uniprot:P30566','uniprot:P30520',
'uniprot:P00568', 'uniprot:P23109', 'uniprot:P22102', 'uniprot:P15531')

reactionsLists <- RaMP::getReactionsForAnalytes(analytes = analytes.of.interest,
    includeTransportRxns = F, humanProtein = T, db = rampDB)

plotAnalyteOverlapPerRxnLevel(reactionsResults = reactionsLists)

## End(Not run)


ncats/RaMP-DB documentation built on June 10, 2025, 10:50 a.m.