view GetAllPatterns.R @ 45:9bebd9fd9f1b draft default tip

Uploaded
author ning
date Mon, 16 Jun 2014 16:24:58 -0400
parents 2f3c2a102dc3
children
line wrap: on
line source

sink(file="/tmp/none")
sink("/dev/null")
options(warn=-1)
options(echo=F) 

invisible("EBSeq")
suppressMessages(library("EBSeq"))

args <- commandArgs()
inputfile <- args[6]
outputfile <- args[7]
#PairwisePlots <-args[6]

print(args)

Conds=strsplit(inputfile,split=",")[[1]]


Out=GetPatterns(Conds)


#write.table(Out,file=outputfile,quote=F,col.names=T,row.names=T,sep = "\t")
write.table(Out,file=outputfile,quote=F,col.names=NA,row.names=T,sep = "\t")  ##cms - changed on 11/11/13