0
|
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 } |