view xls2tab.r @ 23:6877e6cd1d02 draft

Uploaded
author ylebras
date Thu, 06 Dec 2018 11:27:18 -0500
parents 3ad2713b6c5a
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)