Build branch main with version main (a948c26)
Build pipeline: viash-hub.htrnaseq.main-qpqxt
Source commit: a948c26193
Source message: Bump viash to 0.9.4 (#51)
This commit is contained in:
@@ -211,8 +211,8 @@ build_info:
|
||||
engine: "docker|native"
|
||||
output: "target/executable/report/create_report"
|
||||
executable: "target/executable/report/create_report/create_report"
|
||||
viash_version: "0.9.2"
|
||||
git_commit: "cb58990a33f6ea6e46e474f2095b10218cf08912"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "a948c261931dbb784fc9ce6f7d5d93f52008a99f"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
@@ -222,7 +222,7 @@ package_config:
|
||||
test_resources:
|
||||
- path: "gs://viash-hub-test-data/htrnaseq/v1/"
|
||||
dest: "resources_test"
|
||||
viash_version: "0.9.2"
|
||||
viash_version: "0.9.4"
|
||||
source: "src"
|
||||
target: "target"
|
||||
config_mods:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# create_report main
|
||||
#
|
||||
# This wrapper script is auto-generated by viash 0.9.2 and is thus a derivative
|
||||
# This wrapper script is auto-generated by viash 0.9.4 and is thus a derivative
|
||||
# work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
|
||||
# Intuitive.
|
||||
#
|
||||
@@ -465,9 +465,9 @@ RUN Rscript -e 'options(warn = 2); if (!requireNamespace("remotes", quietly = TR
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component report create_report"
|
||||
LABEL org.opencontainers.image.created="2025-04-29T11:22:41Z"
|
||||
LABEL org.opencontainers.image.created="2025-04-29T12:46:57Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="cb58990a33f6ea6e46e474f2095b10218cf08912"
|
||||
LABEL org.opencontainers.image.revision="a948c261931dbb784fc9ce6f7d5d93f52008a99f"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -283,15 +283,31 @@ plateLayout <- function(
|
||||
|
||||
if (is.null(colours)) {
|
||||
colours <- tryCatch({
|
||||
colorRamp2(
|
||||
circlize::colorRamp2(
|
||||
breaks = breaks,
|
||||
colors = brewer.pal(length(breaks), "Purples")
|
||||
)
|
||||
},
|
||||
error = function(cond) {
|
||||
return(c("#9370DB", "white"))
|
||||
error = function(cond){
|
||||
|
||||
message("Recomputed breaks for proper colour mapping")
|
||||
|
||||
breakValues <- plateValues$values
|
||||
breakValues[which(is.na(breakValues))] <- 0
|
||||
if (all(breakValues >= 0)) {
|
||||
breaks <- computeBreaks(7, max(plateValues$values, na.rm = TRUE))
|
||||
} else {
|
||||
breaks <- quantile(plateValues$values, probs = seq(0, 1, 0.125))
|
||||
}
|
||||
|
||||
circlize::colorRamp2(
|
||||
breaks = breaks,
|
||||
colors = brewer.pal(length(breaks), "Purples")
|
||||
)
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
ht <- Heatmap(
|
||||
plateValues$values,
|
||||
column_title = mainTitle, column_title_side = "top",
|
||||
@@ -425,6 +441,7 @@ computeBreaks <- function(nBreaks, variable) {
|
||||
)
|
||||
coefExp <- c(exp(coefSystem[1]), coefSystem[2])
|
||||
breaks <- coefExp[1] * exp((1:(nBreaks - 1)) * coefExp[2])
|
||||
breaks <- unique(c(0, breaks))
|
||||
}
|
||||
return(c(0, breaks))
|
||||
}
|
||||
return(breaks)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user