changeset 13:e71513809449 draft

planemo upload commit 7d411a114317ebd9dfc6a20a7f132e653ccad986-dirty
author mingchen0919
date Mon, 14 May 2018 11:39:23 -0400
parents 771aea048df6
children 16b2b7c3606e
files expose-outputs-to-galaxy-history.sh rmarkdown_report.Rmd
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/expose-outputs-to-galaxy-history.sh	Tue May 01 10:17:57 2018 -0400
+++ b/expose-outputs-to-galaxy-history.sh	Mon May 14 11:39:23 2018 -0400
@@ -10,4 +10,6 @@
   cp index.html ${REPORT}
 fi
 
-cp padj-sorted-significant-genes.txt ${X_J}
\ No newline at end of file
+if [ -e "padj-sorted-significant-genes.txt" ]; then
+  cp padj-sorted-significant-genes.txt ${X_J}
+fi
\ No newline at end of file
--- a/rmarkdown_report.Rmd	Tue May 01 10:17:57 2018 -0400
+++ b/rmarkdown_report.Rmd	Mon May 14 11:39:23 2018 -0400
@@ -59,7 +59,7 @@
 # import count data
 count_data = read.csv(opt$X_A, row.names = 1, header = TRUE)
 # import column data
-coldata = read.csv(opt$X_B, row.names = 1, header = TRUE)[colnames(count_data), ]
+coldata = read.csv(opt$X_B, row.names = 1, header = TRUE)[colnames(count_data),,drop=FALSE]
 ```
 
 ```{r echo=FALSE}