Skip to content

Commit 095ccc4

Browse files
Fix bug with the summary in Step 1 DESeq2 LRT pipeline
1 parent 3b7388a commit 095ccc4

File tree

1 file changed

+2
-2
lines changed
  • tools/dockerfiles/scripts/diff_tools/modules

1 file changed

+2
-2
lines changed

tools/dockerfiles/scripts/diff_tools/modules/io.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export_rds <- function(data, location){
8888
export_lrt_summary <- function(deseq_results, location, args){
8989
significant_genes <- sum(deseq_results$padj < args$padj, na.rm=TRUE)
9090
total_genes <- sum(!is.na(deseq_results$padj))
91-
summary_output <- utils::capture.output(base::summary(deseq_results))
91+
summary_output <- utils::capture.output(DESeq2::summary(deseq_results)) # need to use not standard summary
9292
outliers <- base::gsub(".*: ", "", summary_output[6])
9393
low_counts <- base::gsub(".*: ", "", summary_output[7])
9494
mean_count <- base::gsub("[^0-9]", "", summary_output[8])
@@ -108,7 +108,7 @@ export_lrt_summary <- function(deseq_results, location, args){
108108
"If the number of significant features is substantial, consider including the interaction term in your design formula ",
109109
"for a more detailed differential expression analysis.\n\n",
110110
"For further insights and to explore detailed contrasts using the Wald test for the complex design formula, ",
111-
"please visit the **Complex Interaction Analysis** tab for more information.\n\n"
111+
"please visit the correspondent tab for more information.\n\n"
112112
)
113113
base::writeLines(md_content, con=location)
114114
}

0 commit comments

Comments
 (0)