Skip to content

Commit

Permalink
updated dependency version of openxl and Docker instructions vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Rauter committed Sep 28, 2024
1 parent 1b82f8c commit d85a2df
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Imports:
ggrepel(>= 0.9.5),
here(>= 1.0.1),
limma(>= 3.58.1),
openxlsx(>= 4.2.6.1),
openxlsx(>= 4.2.5.2),
patchwork(>= 1.2.0),
pheatmap(>= 1.0.12),
progress(>= 1.2.3),
Expand Down
52 changes: 51 additions & 1 deletion vignettes/Docker-instructions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,61 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{=html}
<style>
.sourceCode pre {
background-color: #f7f7f7;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
overflow-x: auto;
position: relative;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
border: none;
background: #4CAF50;
color: white;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
}
.copy-btn:hover {
background: #45a049;
}
</style>
```

<script>
document.addEventListener("DOMContentLoaded", function() {
document.querySelectorAll(".sourceCode pre").forEach(function(block) {
var button = document.createElement("button");
button.innerHTML = "Copy";
button.className = "copy-btn";
block.appendChild(button);

button.addEventListener("click", function() {
var code = block.innerText;
navigator.clipboard.writeText(code).then(function() {
button.innerHTML = "Copied!";
setTimeout(function() {
button.innerHTML = "Copy";
}, 2000);
});
});
});
});
</script>

# Pulling the `Docker` Container

Pull `Docker` container:

```{r eval=FALSE}
# Docker Hub repo still private, will make it public then
docker pull thomasrauter/splineomics:0.1.0
```

Expand All @@ -33,6 +82,7 @@ docker run -it -d \
-v $(pwd)/output:/home/rstudio/output \
-p 8888:8787 \
-e PASSWORD=123 \
-u $(id -u):$(id -g) \ # Ensure same user/group ID as host
--name splineomics \
thomasrauter/splineomics:0.1.0
```
Expand Down

0 comments on commit d85a2df

Please sign in to comment.