#' @noRd
degSummary_config <- function(config, data_folder = "", parent_config = NULL) {
message("Checking degSummary configuration")
required_packages <- c("knitr", "kableExtra")
stopIfNotInstalled(required_packages, "degSummary")
# Module configuration has priority over group module configuration
config$pvalue_max <-
config$pvalue_max %||% parent_config$pvalue_max %||% 0.05
config$padj_max <-
config$padj_max %||% parent_config$padj_max %||% 0.05
config$pvalue_col <-
config$pvalue_col %||% parent_config$pvalue_col %||% "P.value"
config$padj_col <-
config$padj_col %||% parent_config$padj_col %||% "q.value"
if (is.null(parent_config$models) & is.null(config$models)) {
stop_nice("degDetails: 'models' table not found in configuration")
}
if (is.null(parent_config$models) & !is.null(config$models)) {
models_table <-
loadModels(config$models,
data_folder,
config$pvalue_max,
config$padj_max,
config$pvalue_col,
config$padj_col)
config$models <- models_table
}
config
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.