changeset 0:0f319ef24434 draft

Uploaded
author ylebras
date Mon, 03 Dec 2018 16:23:20 -0500
parents
children bcd7b59c1251
files xlsx2tab.R
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xlsx2tab.R	Mon Dec 03 16:23:20 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)
+
+}
+