changeset 1:7c746038ed87 draft

Uploaded
author taoufik
date Sat, 26 Jan 2019 19:02:54 -0500
parents 4eb60f0a4fdb
children ea02d47cd0c2
files FormatDream.R
diffstat 1 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FormatDream.R	Sat Jan 26 19:02:54 2019 -0500
@@ -0,0 +1,26 @@
+log_file=file("Read_Dataset.log", open = "wt")
+sink(log_file)
+sink(log_file, type = "out") 
+suppressWarnings(suppressMessages(library("batch")))
+suppressWarnings(suppressMessages(library(data.table)))
+listArguments = parseCommandArgs(evaluate=FALSE)
+datasetsource = listArguments[["datasetsource"]]
+
+training=fread(datasetsource,header = T)
+training1=fread(datasetsource,header = T)
+training=as.matrix(training)
+training=training[,-1]
+rownames(training)<-training1$V1
+training=t(training)
+training=training[,-c(4,7)]
+fwrite(
+  as.data.frame(training),"Format_Dream.tsv",sep="\t"
+)
+
+
+
+
+
+
+
+