comparison xlsx2tab.R @ 1:aa5f65234ff4 draft

Uploaded
author ylebras
date Tue, 04 Dec 2018 19:29:45 -0500
parents
children 97c4e2e4f07e
comparison
equal deleted inserted replaced
0:0f3606757c24 1:aa5f65234ff4
1 #!/usr/bin/env Rscript
2 #Read Xlsx sheets - return tabular
3 library(readxl)
4
5 args = commandArgs(trailingOnly=TRUE)
6
7 sheet<-read_excel(args[1],sheet=args[2])
8 write.table(sheet,"out.tabular",sep="\t",row.names=FALSE)
9
10 }
11