Query the Metabolomic Workbench API and retrieve a display an image of the matching molecular structure.
Arguments
- query_column
(character) The name of the
annotation_source
column with regno compound identifiers.- row_index
(integer, numeric) The row index of the
annotation_source
to request an image of the molecular structure of.- ...
Additional slots and values passed to
struct_class
.
Value
A
mwb_structure
object. This object has no output
slots.
See chart_plot
in the struct
package to plot this chart object.
Details
This object makes use of functionality from the following packages:
cowplot
metabolomicsWorkbenchR
This object queries the Metabolomics Workbench API for matches to your query without caching the results. It is therefore intended for limited use. If you wish to obtain images for a large number of moelucules you should seek an alternative solution.
Inheritance
A mwb_structure
object inherits the following struct
classes: mwb_structure()
⭢ chart()
⭢ struct_class()
References
Wilke C (2023). cowplot: Streamlined Plot Theme and Plot Annotations for 'ggplot2'. R package version 1.1.2, https://CRAN.R-project.org/package=cowplot.
Lloyd GR, Weber RJM (2023). metabolomicsWorkbenchR: Metabolomics Workbench in R. doi:10.18129/B9.bioc.metabolomicsWorkbenchR https://doi.org/10.18129/B9.bioc.metabolomicsWorkbenchR, R package version 1.12.0, https://bioconductor.org/packages/metabolomicsWorkbenchR.