Description Usage Arguments Value Examples
Sends a query to the metabolomics database and returns the result. Note that while objects derived from mw_base can be used the recommended approach is to use character inputs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | do_query(context, input_item, input_value, output_item)
## S4 method for signature 'character,character,character,character'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_moverz_context,list,character,mw_output_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_moverz_context,list,character,character'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_moverz_context,list,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_moverz_context,character,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'character,character,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_exactmass_context,list,character,mw_output_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_exactmass_context,list,character,character'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_exactmass_context,list,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_exactmass_context,character,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'character,character,character,missing'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_context,mw_input_item,character,mw_output_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_context,mw_input_item,character,mw_SE_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature
## 'mw_context,mw_input_item,character,mw_untarg_SE_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_context,mw_input_item,character,mw_DE_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature
## 'mw_context,mw_input_item,character,mw_untarg_DE_item'
do_query(context, input_item, input_value, output_item)
## S4 method for signature 'mw_context,mw_input_item,character,mw_MAE_item'
do_query(context, input_item, input_value, output_item)
|
context |
A valid context name (character) |
input_item |
A valid input_item name (character) |
input_value |
The value for the input item (character). |
output_item |
A valid output_item (character). |
A data.frame, or other output appropriate to the output_item.
1 2 3 4 5 6 7 | # Get a summary of all studies with "diabetes" in the title
df = do_query(
context = 'study',
input_item = 'study_title',
input_value = 'diabetes',
output_item = 'summary'
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.