Skip to content

Commit

Permalink
Merge pull request #45 from PF2-pasteur-fr/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
hvaret authored May 23, 2018
2 parents 4ddef16 + 2285f88 commit b5fa8e8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: SARTools
Type: Package
Title: Statistical Analysis of RNA-Seq Tools
Version: 1.6.1
Date: 2018-03-20
Version: 1.6.2
Date: 2018-05-23
Author: Marie-Agnes Dillies and Hugo Varet
Maintainer: Hugo Varet <[email protected]>
Depends: R (>= 3.3.0), DESeq2 (>= 1.12.0), edgeR (>= 3.12.0), xtable
Expand Down
6 changes: 5 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
CHANGES IN VERSION 1.6.1
CHANGES IN VERSION 1.6.2
------------------------
o fixed a bug in template_script_edgeR_CL.r to use forceCairoGraph option
o fixed a bug in loadCountData() function

------------------------
o new boolean parameter forceCairoGraph
o adapt size of PNG plots if width/height are too large
Expand Down
2 changes: 1 addition & 1 deletion R/loadCountData.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ loadCountData <- function(target, rawDir="raw", skip=0, featuresToRemove=c("alig
cat(files[1],": ",length(rawCounts[,labels[1]])," rows and ",sum(rawCounts[,labels[1]]==0)," null count(s)\n",sep="")

for (i in 2:length(files)){
tmp <- read.table(file.path(rawDir, files[i]), sep="\t", header=header, skip=skip, stringsAsFactors=FALSE)
tmp <- read.table(file.path(rawDir, files[i]), sep="\t", quote="\"", header=header, skip=skip, stringsAsFactors=FALSE)
tmp <- tmp[,c(idCol, countsCol)]
colnames(tmp) <- c("Id", labels[i])
if (any(duplicated(tmp$Id))) stop("Duplicated feature names in ", files[i])
Expand Down
2 changes: 1 addition & 1 deletion template_script_DESeq2.r
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### R script to compare several conditions with the SARTools and DESeq2 packages
### Hugo Varet
### March 20th, 2018
### designed to be executed with SARTools 1.6.1
### designed to be executed with SARTools 1.6.2
################################################################################

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion template_script_DESeq2_CL.r
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### R script to compare several conditions with the SARTools and DESeq2 packages
### Hugo Varet
### March 20th, 2018
### designed to be executed with SARTools 1.6.1
### designed to be executed with SARTools 1.6.2
### run "Rscript template_script_DESeq2_CL.r --help" to get some help
################################################################################

Expand Down
2 changes: 1 addition & 1 deletion template_script_edgeR.r
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### R script to compare several conditions with the SARTools and edgeR packages
### Hugo Varet
### March 20th, 2018
### designed to be executed with SARTools 1.6.1
### designed to be executed with SARTools 1.6.2
################################################################################

################################################################################
Expand Down
6 changes: 3 additions & 3 deletions template_script_edgeR_CL.r
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
################################################################################
### R script to compare several conditions with the SARTools and edgeR packages
### Hugo Varet
### March 20th, 2018
### designed to be executed with SARTools 1.6.1
### May 16th, 2018
### designed to be executed with SARTools 1.6.2
### run "Rscript template_script_edgeR_CL.r --help" to get some help
################################################################################

Expand Down Expand Up @@ -81,7 +81,7 @@ make_option(c("-C", "--colors"),
dest="cols",
help="colors of each biological condition on the plots\n\t\t\"col1,col2,col3,col4\"\n\t\t[default: %default]"),

make_option(c("-g", "--forceCairoGraph"),
make_option(c("-f", "--forceCairoGraph"),
action="store_true",
default=FALSE,
dest="forceCairoGraph",
Expand Down

0 comments on commit b5fa8e8

Please sign in to comment.