Skip to content

Commit

Permalink
Save results to shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 13, 2024
1 parent 6b5a6e1 commit 54a37ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ RUN Rscript -e "BiocManager::install(c('RCurl', 'xcms', 'MsExperiment', 'Summari
## Install the current package with vignettes
RUN Rscript -e "devtools::install('.', dependencies = TRUE, type = 'source', build_vignettes = TRUE)"

## Create a directory we can use to share data.
RUN mkdir -p /shared/data; \
chmod 777 /shared/data;

USER rstudio

## build article for end-to-end:test
Expand Down
2 changes: 1 addition & 1 deletion vignettes/a-end-to-end-untargeted-metabolomics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ Javascript as well as loaded easily back into R.
# d <- file.path(tempdir(), "objects/lcms1")
# saveMsObject(lcms1, AlabasterParam(path = d))
#for now let's do R object because the previous method is not implemented yet.
save(lcms1, file = "/tmp/preprocessed_lcms1.RData")
save(lcms1, file = "/shared/data/preprocessed_lcms1.RData")
```

# Data normalization
Expand Down
2 changes: 1 addition & 1 deletion vignettes/alignment-to-external-dataset.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tmp <- readMsObject(MsExperiment(),
```

```{r}
load("/tmp/preprocessed_lcms1.RData")
load("/shared/data/preprocessed_lcms1.RData")
```

## Load unprocessed LC-MS/MS data
Expand Down

0 comments on commit 54a37ed

Please sign in to comment.