Mercurial > repos > sblanck > mpagenomics_wrappers
comparison mpagenomics_normalize-7dc6ce39fb89/preprocess.R @ 0:84b13b0e2b85
Uploaded
| author | sblanck |
|---|---|
| date | Thu, 07 May 2015 08:22:36 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:84b13b0e2b85 |
|---|---|
| 1 args<-commandArgs(TRUE) | |
| 2 | |
| 3 chip=args[1] | |
| 4 dataset=args[2] | |
| 5 workdir=args[3] | |
| 6 celPath=args[4] | |
| 7 chipPath=args[4] | |
| 8 tumor=args[5] | |
| 9 settingType=args[6] | |
| 10 outputgraph=type.convert(args[7]) | |
| 11 tag=args[8] | |
| 12 | |
| 13 if (tag=="") | |
| 14 { | |
| 15 tag=NULL | |
| 16 } | |
| 17 | |
| 18 library(MPAgenomics) | |
| 19 setwd(workdir) | |
| 20 if (settingType=="standard") | |
| 21 { | |
| 22 signalPreProcess(dataSetName=dataset, chipType=chip, dataSetPath=celPath,chipFilesPath=chipPath, path=workdir,createArchitecture=TRUE, savePlot=outputgraph, tags=tag) | |
| 23 } else { | |
| 24 signalPreProcess(dataSetName=dataset, chipType=chip, dataSetPath=celPath,chipFilesPath=chipPath, normalTumorArray=tumor, path=workdir,createArchitecture=TRUE, savePlot=outputgraph, tags=tag) | |
| 25 } |
