view xlsx2tab.R @ 1:bcd7b59c1251 draft default tip

Uploaded
author ylebras
date Mon, 03 Dec 2018 16:23:41 -0500
parents 0f319ef24434
children
line wrap: on
line source

#!/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)

}