Mercurial > repos > moheydarian > cast
changeset 2:29110e59067f draft
Uploaded
author | moheydarian |
---|---|
date | Mon, 13 Mar 2017 11:00:31 -0400 |
parents | 643e309dcd11 |
children | d7e3814be68e |
files | cast.R |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cast.R Mon Mar 13 10:52:22 2017 -0400 +++ b/cast.R Mon Mar 13 11:00:31 2017 -0400 @@ -30,5 +30,5 @@ cat("\n output: ",options$output) input <- read.csv(options$input,sep='\t',header=TRUE) -cinput <- cast(input, ... ~ variable) +cinput <- dcast(input, ... ~ variable) write.table(cinput, "output.tabular", sep="\t", quote=FALSE, row.names=FALSE)