diff xlsx2tab.R @ 1:aa5f65234ff4 draft

Uploaded
author ylebras
date Tue, 04 Dec 2018 19:29:45 -0500
parents
children 97c4e2e4f07e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xlsx2tab.R	Tue Dec 04 19:29:45 2018 -0500
@@ -0,0 +1,11 @@
+#!/usr/bin/env Rscript
+#Read Xlsx sheets - return tabular
+library(readxl)
+
+args = commandArgs(trailingOnly=TRUE)
+
+sheet<-read_excel(args[1],sheet=args[2])
+write.table(sheet,"out.tabular",sep="\t",row.names=FALSE)
+
+}
+