view xlsx2tab.R @ 2:d4462dd190fe draft

Uploaded
author ylebras
date Tue, 04 Dec 2018 19:43:15 -0500
parents aa5f65234ff4
children 97c4e2e4f07e
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)

}