log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
repos
>
kpbioteam
>
minfi_getm
annotate minfi_getM.R @ 0:
e717ba37cdbd
draft
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
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)