annotate minfi_getM.R @ 0:e717ba37cdbd draft

planemo upload
author kpbioteam
date Mon, 05 Feb 2018 09:30:08 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
1 require("minfi", quietly = TRUE)
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
2
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
3 args <- commandArgs(trailingOnly = TRUE)
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
4
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
5 input = args[1]
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
6 output = args[2]
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
7
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
8 RSet <- get(load(input))
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
9
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
10 m <- getM(RSet)
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
11
e717ba37cdbd planemo upload
kpbioteam
parents:
diff changeset
12 write.table(m, output)