View source: R/plottingFunctions.R
plotAnalyteOverlapPerRxnLevel | R Documentation |
Plots an interactive upset plot of overlapping input compounds at reaction class level 1
plotAnalyteOverlapPerRxnLevel(reactionsResults, includeCofactorMets = FALSE)
reactionsResults |
output of getReactionsForAnalytes() |
includeCofactorMets |
include metabolites labeled at cofactors within ChEBI (Default = FALSE) |
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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.