do_query | R Documentation |
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.
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.
# 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.