view xls2tab.r @ 21:5e5e26403322 draft

Uploaded
author ylebras
date Thu, 06 Dec 2018 11:20:36 -0500
parents 09ebc5a5cdc3
children 3ad2713b6c5a
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)