diff test-data/genTest.R @ 2:21b12c7c52e4 draft

Fixes to paths in git for deps
author fubar
date Sat, 31 Oct 2015 01:34:27 -0400
parents cf295f36d606
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/genTest.R	Sat Oct 31 01:34:27 2015 -0400
@@ -0,0 +1,10 @@
+ids=c(1:50)
+io1 = rep(c(0,0,0,0,1),10)
+ip2 = runif(50)+0.1
+ip2[which(ip2>1.0)] = 1.0
+ip1 = runif(50)+0.05
+ip1[which(ip1>1.0)] = 1.0
+df=data.frame(id=ids,input1_observed=io1,input1_predicted=ip1,input2_predicted=ip2)
+fout='test-data/nri_test1.xls'
+write.table(df,file=fout, quote=FALSE, sep="\t",row.names=F)
+# planemo test --job_output_files /home/rlazarus/tmp --test_output /home/rlazarus/tmp/startest/foo.html --update_test_data --galaxy_root /home/rlazarus/galaxy rg_nri.xml