# HG changeset patch # User ylebras # Date 1544043825 18000 # Node ID 09ebc5a5cdc3516164bd95899875c5c87830e3c1 # Parent cba112c87a55320e21022cd5bfeb725480c76165 Uploaded diff -r cba112c87a55 -r 09ebc5a5cdc3 xls2tab.r --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xls2tab.r Wed Dec 05 16:03:45 2018 -0500 @@ -0,0 +1,8 @@ +#!/usr/bin/env Rscript +#Read xls 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) \ No newline at end of file