install.packages("BiocManager")
::install('RforMassSpectrometry/MsIO', ask = FALSE,
BiocManagerdependencies = TRUE)
::install("RforMassSpectrometry/metabonaut",
BiocManagerdependencies = TRUE, ask = FALSE, update = TRUE)
For manual installation, an R version >= 4.4.0 is required.
Notes: only a development version of metabonaut
is available as of now but a stable version will come soon. Therefore, if you are having difficulty to run some part of the code we strongly recommend to use the Docker image, as it will have all the package necessary to run all the analysis presented in these workflows.
To install on your computer all the packages necessary for the workflows run the code as follow:
install.packages("BiocManager")
::install('RforMassSpectrometry/MsIO', ask = FALSE,
BiocManagerdependencies = TRUE)
::install("RforMassSpectrometry/metabonaut",
BiocManagerdependencies = TRUE, ask = FALSE, update = TRUE)
If you get some error message when downloading form GitHub it might be due to an expired token. Remove them using this code below and try to install again:
#See if any token is there:
::gitcreds_get()
gitcreds
# Delete them:
::gitcreds_delete() gitcreds
The vignettes files along with an R runtime environment including all required packages and the RStudio (Posit) editor are all bundled in a docker container.
After installation, this docker container can be run on the computer and the code and examples from the vignettes can be evaluated within this environment (without the need to install any additional packages or files).
docker pull rformassspectrometry/metabonaut:latest
docker run -e PASSWORD=bioc -p 8787:8787 rformassspectrometry/metabonaut:latest
http://localhost:8787
in a web browser and log in with username rstudio
and password bioc
.