From a6f3c680d3a9991da9983d98dd4d76211f4bdfcd Mon Sep 17 00:00:00 2001 From: "Zachary S.L. Foster" Date: Fri, 19 Jan 2024 15:55:16 -0800 Subject: [PATCH] add ggdendro to dockerfile --- assets/main_report/index.qmd | 14 +------------- dockerfiles/main-report-r-packages/Dockerfile | 1 + modules/local/main_report.nf | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/assets/main_report/index.qmd b/assets/main_report/index.qmd index 1e6305f7..836bceb7 100644 --- a/assets/main_report/index.qmd +++ b/assets/main_report/index.qmd @@ -38,6 +38,7 @@ library(plotly) library(webshot2) library(metacoder) library(psminer) +library(ggdendro) ``` ```{r parse_inputs} @@ -112,10 +113,6 @@ Perhaps a table with a list of majors steps and a icon next to each for done/que ## Sample plotly/ggtree tree from [here](https://plotly.com/ggplot2/dendrogram/) ```{r} -library(plotly) -library(ggplot2) -library(ggdendro) - model <- hclust(dist(USArrests), "ave") dhc <- as.dendrogram(model) @@ -133,15 +130,6 @@ ggplotly(p) ## {{< bi clipboard-data >}} Input data ```{r} -# samp_data %>% -# select( -# `Sample ID`=sample, -# `Forward Reads`=fastq_1, -# `Reverse Reads`=fastq_2, -# `Reference ID`=reference_id, -# `Reference`=reference) %>% -# DT::datatable() - print_sample_metadata(samp_data, interactive = knitr::is_html_output()) ``` diff --git a/dockerfiles/main-report-r-packages/Dockerfile b/dockerfiles/main-report-r-packages/Dockerfile index 3a16f5dc..fcd1da9e 100644 --- a/dockerfiles/main-report-r-packages/Dockerfile +++ b/dockerfiles/main-report-r-packages/Dockerfile @@ -58,6 +58,7 @@ install.r \ plotly \ webshot2 \ metacoder \ + ggdendro EOF RUN <