annotate test-data/genTest.R @ 20:bb725f6d6d38
draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rglasso commit 344140b8df53b8b7024618bb04594607a045c03a
author |
iuc |
date |
Mon, 04 May 2015 22:47:29 -0400 |
parents |
445cb45d1bc0 |
children |
|
rev |
line source |
13
|
1 ids=c(1:50)
|
|
2 io1 = rep(c(0,0,0,0,1),10)
|
|
3 ip2 = runif(50)+0.1
|
|
4 ip2[which(ip2>1.0)] = 1.0
|
|
5 ip1 = runif(50)+0.05
|
|
6 ip1[which(ip1>1.0)] = 1.0
|
|
7 df=data.frame(id=ids,input1_observed=io1,input1_predicted=ip1,input2_predicted=ip2)
|
|
8 fout='test-data/nri_test1.xls'
|
|
9 write.table(df,file=fout, quote=FALSE, sep="\t",row.names=F)
|
|
10 # 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
|