Created
September 21, 2022 07:41
-
-
Save jorainer/8a7339c45ca0dbfed6686fa36ca80fab to your computer and use it in GitHub Desktop.
Query and list MassBank releases from Bioconductor's AnnotationHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(AnnotationHub) | |
ah <- AnnotationHub() | |
## List available releases | |
query(ah, "MassBank") | |
## Download one specific release | |
mb <- ah[["AH107049"]] | |
## Access using Spectra | |
sps <- Spectra(mb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment