view xlsx2tab.R @ 16:ca89facf5125 draft

Uploaded
author ylebras
date Wed, 05 Dec 2018 15:56:48 -0500
parents 6faa8b922ac4
children
line wrap: on
line source

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