view xls2tab.R @ 28:e80c143bc225 draft

Uploaded
author ylebras
date Thu, 06 Dec 2018 12:41:13 -0500
parents ff26178d8dfe
children
line wrap: on
line source

#!/usr/bin/env Rscript
#Read xls/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)