# HG changeset patch # User ning # Date 1402950240 14400 # Node ID 2f3c2a102dc389fd5dc0281b7b3b8010364ff91f # Parent 48de96168a98727ad92c7e657c64ce375250e1e3 Uploaded diff -r 48de96168a98 -r 2f3c2a102dc3 GetAllPatterns.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GetAllPatterns.R Mon Jun 16 16:24:00 2014 -0400 @@ -0,0 +1,24 @@ +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 +