# HG changeset patch
# User iuc
# Date 1738346429 0
# Node ID ffa256d657b20b56afc67f86b7a0448abda9b2e3
# Parent d104044e425713fd1f43418f560641e6175b4820
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dexseq commit ed4091f895ae0f46323534ca42da290c6e103598
diff -r d104044e4257 -r ffa256d657b2 dexseq.R
--- a/dexseq.R Tue Apr 04 08:25:36 2023 +0000
+++ b/dexseq.R Fri Jan 31 18:00:29 2025 +0000
@@ -16,8 +16,8 @@
options(stringAsfactors = FALSE, useFancyQuotes = FALSE)
args <- commandArgs(trailingOnly = TRUE)
-#get options, using the spec as defined by the enclosed list.
-#we read the options from the default: commandArgs(TRUE).
+# get options, using the spec as defined by the enclosed list.
+# we read the options from the default: commandArgs(TRUE).
spec <- matrix(c(
"verbose", "v", 2, "integer",
"help", "h", 0, "logical",
@@ -109,7 +109,7 @@
export_table <- as.data.frame(res_sorted)
last_column <- ncol(export_table)
for (i in seq_len(nrow(export_table))) {
- export_table[i, last_column] <- paste(export_table[i, last_column][[1]], collapse = ", ")
+ export_table[i, last_column] <- paste(export_table[i, last_column][[1]], collapse = ", ")
}
export_table[, c(last_column)] <- sapply(export_table[, c(last_column)], as.character)
write.table(export_table, file = opt$outfile, sep = "\t", quote = FALSE, row.names = FALSE, col.names = FALSE)
diff -r d104044e4257 -r ffa256d657b2 dexseq_count.xml
--- a/dexseq_count.xml Tue Apr 04 08:25:36 2023 +0000
+++ b/dexseq_count.xml Fri Jan 31 18:00:29 2025 +0000
@@ -16,18 +16,20 @@
-
+
-
+
diff -r d104044e4257 -r ffa256d657b2 macros.xml
--- a/macros.xml Tue Apr 04 08:25:36 2023 +0000
+++ b/macros.xml Fri Jan 31 18:00:29 2025 +0000
@@ -1,12 +1,11 @@
-
- 1.44
- 0
- 22.01
+ 1.48.0
+ 1
+ 23.0
bioconductor-dexseq
- r-getopt
+ r-getopt
r-rjson
diff -r d104044e4257 -r ffa256d657b2 plotdexseq.R
--- a/plotdexseq.R Tue Apr 04 08:25:36 2023 +0000
+++ b/plotdexseq.R Fri Jan 31 18:00:29 2025 +0000
@@ -14,8 +14,8 @@
options(stringAsfactors = FALSE, useFancyQuotes = FALSE)
args <- commandArgs(trailingOnly = TRUE)
-#get options, using the spec as defined by the enclosed list.
-#we read the options from the default: commandArgs(TRUE).
+# get options, using the spec as defined by the enclosed list.
+# we read the options from the default: commandArgs(TRUE).
spec <- matrix(c(
"rdata", "r", 1, "character",
"primaryfactor", "p", 1, "character",
@@ -25,7 +25,9 @@
"transcripts", "t", 1, "logical",
"names", "a", 1, "logical",
"normcounts", "n", 1, "logical",
- "splicing", "s", 1, "logical"
+ "splicing", "s", 1, "logical",
+ "pl_width", "w", 2, "integer",
+ "pl_height", "h", 2, "integer"
), byrow = TRUE, ncol = 4)
opt <- getopt(spec)
@@ -38,12 +40,18 @@
genes <- opt$geneid
}
-pdf("plot.pdf")
+pl_width <- pl_height <- 7
+if (!is.null(opt$pl_width)) pl_width <- opt$pl_width
+if (!is.null(opt$pl_height)) pl_height <- opt$pl_height
+pdf("plot.pdf", width = pl_width, height = pl_height)
for (i in genes) {
- plotDEXSeq(res, i, FDR = opt$fdr, fitExpToVar = opt$primaryfactor,
+ par(oma = c(pl_height * 0.2, pl_width * 0.2, pl_height * 0.2, pl_width * 0.2))
+ plotDEXSeq(res, i,
+ FDR = opt$fdr, fitExpToVar = opt$primaryfactor,
norCounts = opt$normcounts, expression = TRUE, splicing = opt$splicing,
displayTranscripts = opt$transcripts, names = opt$names, legend = TRUE,
- color = NULL, color.samples = NULL, transcriptDb = NULL)
+ color = NULL, color.samples = NULL, transcriptDb = NULL
+ )
}
dev.off()
diff -r d104044e4257 -r ffa256d657b2 plotdexseq.xml
--- a/plotdexseq.xml Tue Apr 04 08:25:36 2023 +0000
+++ b/plotdexseq.xml Fri Jan 31 18:00:29 2025 +0000
@@ -22,9 +22,15 @@
-a $names
-n $normcounts
-s $splicing
+ #if $pl_width:
+ -w $pl_width
+ #end if
+ #if $pl_height:
+ -h $pl_height
+ #end if
]]>
-
+
@@ -38,7 +44,7 @@
-
+
@@ -51,6 +57,8 @@
+
+
@@ -61,7 +69,10 @@
-
+
+
+
+
@@ -69,10 +80,26 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+