Skip to contents

Client Setup

mw_rest_client()
Initialize Metabolomics Workbench REST client

Study Data

get_study_summary()
Get study summary information
get_study_factors()
Get study experimental factors
get_study_metabolites()
Get study metabolite list
get_study_data()
Get study data matrix

Compound Information

get_compound_by_regno()
Get compound information by registry number
get_compound_by_pubchem_cid()
Get compound information by PubChem CID
get_compound_classification()
Get compound classification hierarchy

RefMet Integration

get_refmet_by_name()
Get RefMet information by name
standardize_to_refmet()
Standardize metabolite name to RefMet
get_all_refmet_names()
Get all RefMet names

Mass Spectrometry

search_by_mass()
Search compounds by mass
calculate_exact_mass()
Calculate exact mass for lipid
search_metstat()
Search studies using MetStat criteria

Utilities

response_to_df()
Convert Response to Data Frame
list_endpoints()
List available API endpoints
download_compound_structure()
Download compound structure file
flatten_entry()
Flatten a metabolite entry with nested sample data
mwbenchr-package mwbenchr
mwbenchr: R Interface for Direct Access to Metabolomics Workbench REST API
parse_mw_output()
Parse a tab-delimited string into a data frame
print(<mw_rest_client>)
Print method for mw_rest_client objects