Mercurial > repos > mingchen0919 > aurora_deseq2_site
changeset 5:20061de8f3f2 draft
planemo upload commit 7d411a114317ebd9dfc6a20a7f132e653ccad986-dirty
author | mingchen0919 |
---|---|
date | Mon, 14 May 2018 11:40:10 -0400 |
parents | b69138a05735 |
children | d961c2f5e172 |
files | 01_deseq2_analysis.Rmd expose-outputs-to-galaxy-history.sh |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/01_deseq2_analysis.Rmd Tue May 01 11:44:04 2018 -0400 +++ b/01_deseq2_analysis.Rmd Mon May 14 11:40:10 2018 -0400 @@ -14,7 +14,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}
--- a/expose-outputs-to-galaxy-history.sh Tue May 01 11:44:04 2018 -0400 +++ b/expose-outputs-to-galaxy-history.sh Mon May 14 11:40:10 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