annotate minfi_getM.R @ 1:e9a45e722066 draft default tip

planemo upload for repository https://github.com/kpbioteam/minfi_getm commit 9014fc50bc3c0eacddbc719fabf610db0dafe12a
author kpbioteam
date Wed, 30 May 2018 11:34:30 -0400
parents e717ba37cdbd
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)