diff findSNPs/findSNPs.R @ 2:15bb9a34d924 draft

Uploaded
author testtool
date Sun, 11 Jun 2017 11:49:04 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/findSNPs/findSNPs.R	Sun Jun 11 11:49:04 2017 -0400
@@ -0,0 +1,17 @@
+require("minfi", quietly = TRUE)
+
+options(warn = -1)
+options("download.file.method"="wget")
+
+args <- commandArgs(trailingOnly = TRUE)
+
+input = args[1]
+output = args[2]
+
+GRset <- get(load(input))
+
+snps <- getSnpInfo(GRset)
+
+write.table(snps, output)
+
+