Mercurial > repos > iuc > edger
diff edger.R @ 17:fb9dc2ee2fd4 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/edger commit 76bd257ee51e9d7b912f570fb9ced1084ef44212
author | iuc |
---|---|
date | Wed, 15 Oct 2025 10:24:16 +0000 |
parents | ae2aad0a6d50 |
children | fd9902d118e5 |
line wrap: on
line diff
--- a/edger.R Wed Sep 04 15:50:01 2024 +0000 +++ b/edger.R Wed Oct 15 10:24:16 2025 +0000 @@ -330,6 +330,8 @@ } contrast_data <- sanitise_equation(contrast_data) contrast_data <- gsub(" ", ".", contrast_data, fixed = TRUE) +# Convert colons to dots to match design matrix column name processing +contrast_data <- gsub(":", ".", contrast_data, fixed = TRUE) bcv_pdf <- make_out("bcvplot.pdf") bcv_png <- make_out("bcvplot.png") @@ -431,6 +433,9 @@ colnames(design) <- gsub(factor_list[i], "", colnames(design), fixed = TRUE) } +# Ensure column names are syntactically valid +colnames(design) <- make.names(colnames(design)) + # Calculating normalising factor, estimating dispersion data <- calcNormFactors(data, method = opt$normOpt)