View source: R/rampReactionQueries.R
getReactionClassesForAnalytes | R Documentation |
getReactionClassesForAnalytes returns reactions class and EC numbers for a collection of input compound ids
getReactionClassesForAnalytes(
analytes,
multiRxnParticipantCount = 1,
humanProtein = TRUE,
concatResults = F,
includeReactionIDs = F,
useIdMapping = F,
db = RaMP()
)
analytes |
list of analyte ids |
multiRxnParticipantCount |
minimum number of analytes to report a reaction class, default = 1 |
humanProtein |
require reactions to have a human protein (enzyme or transporter), default True |
concatResults |
returns all reaction class levels in one dataframe rather than a list of 3 dataframes |
includeReactionIDs |
adds the list of reaction ids for each reaction class |
useIdMapping |
allows one to fuzzy match input ids to chebi and uniprot to support reaction queries. |
db |
a RaMP database object |
returns a three dataframes of reaction EC class information, one for each EC level
## 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')
reaction.classes <- getReactionClassesForAnalytes(analytes = analytes.of.interest, db = RaMP())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.