-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from umccr/annual_summary
Annual workflow summary
- Loading branch information
Showing
22 changed files
with
694 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ Imports: | |
httr2, | ||
jose, | ||
jsonlite, | ||
lubridate, | ||
optparse, | ||
paws, | ||
purrr, | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.quarto/ | ||
nogit | ||
*html | ||
report_files |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Mega Sequencing Run Summary | ||
|
||
Same as a typical Sequencing Run Summary, but for a large number of samples over a long period of time. | ||
|
||
**Contents** | ||
|
||
- Visualisation of workflow runtimes based on the PortalDB Workflow table. | ||
- Summary of sample metadata and workflow input/output paths. | ||
|
||
**Inputs** | ||
|
||
- PortalDB `workflow` slice for a given timeframe. | ||
- PortalDB `limsrow` slice for a given set of library IDs. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
project: | ||
title: "Sequencing Run Summary" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
funcs <- list( | ||
#----# | ||
dt_view = function(x, id, height = 500, ...) { | ||
htmltools::browsable( | ||
htmltools::tagList( | ||
htmltools::tags$button( | ||
htmltools::tagList(fontawesome::fa("download"), "CSV"), | ||
onclick = glue("Reactable.downloadDataCSV('{id}', '{id}.csv')") | ||
), | ||
x |> | ||
reactable::reactable( | ||
bordered = TRUE, | ||
filterable = TRUE, | ||
fullWidth = TRUE, | ||
height = height, | ||
highlight = TRUE, | ||
pagination = FALSE, | ||
resizable = TRUE, | ||
searchable = TRUE, | ||
sortable = TRUE, | ||
striped = TRUE, | ||
wrap = FALSE, | ||
elementId = id, | ||
... | ||
) | ||
) | ||
) | ||
}, | ||
func_eval = function(f) { | ||
eval(parse(text = f)) | ||
}, | ||
#----# | ||
get_ids = function(d, id) { | ||
.get_ids <- function(tbl, id) { | ||
tbl |> | ||
select(contains(id)) |> | ||
unlist() |> | ||
unique() | ||
} | ||
d |> | ||
mutate(ids = list(.get_ids(.data$tidy_meta, {{ id }}))) | ||
} | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
out="mega_seqrunsum.html" | ||
|
||
quarto render report.qmd \ | ||
-o ${out} \ | ||
--output-dir nogit |
Oops, something went wrong.