Skip to content

Commit 6a08e27

Browse files
committed
fix null.csv & links in gsea
1 parent eac5ce5 commit 6a08e27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

assets/differentialabundance_report.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,8 @@ if (!is.null(params$functional_method)){
987987
gmt_name <- basename(tools::file_path_sans_ext(gmt_file))
988988
cat("\n##### ", gmt_name ," {.tabset}\n")
989989
990-
reference_gsea_tables <- paste0(differential_names, ".", gmt_name, '.gsea_report_for_', gsea_contrasts$reference, '.tsv')
991-
target_gsea_tables <- paste0(differential_names, ".", gmt_name, '.gsea_report_for_', gsea_contrasts$target, '.tsv')
990+
reference_gsea_tables <- paste0(gsea_contrasts$id, ".", gmt_name, '.gsea_report_for_', gsea_contrasts$reference, '.tsv')
991+
target_gsea_tables <- paste0(gsea_contrasts$id, ".", gmt_name, '.gsea_report_for_', gsea_contrasts$target, '.tsv')
992992
993993
for (i in seq_len(nrow(gsea_contrasts))) {
994994
cat("\n###### ", contrast_descriptions[i], "\n")

subworkflows/local/utils_nfcore_differentialabundance_pipeline/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ def getParamsheetConfigurations() {
373373

374374
// Get default configurations from pipeline parameters
375375
def getDefaultConfigurations() {
376-
// replace null by string 'null' for paramset_name to avoid certain problems with null object
377-
return [params + [paramset_name: 'null']]
376+
// replace null by string 'contrasts' for paramset_name to avoid certain problems with null object
377+
return [params + [paramset_name: 'contrasts']]
378378
}
379379

380380
// Create a temporary schema file for paramsheet validation

0 commit comments

Comments
 (0)