Mercurial > repos > mvdbeek > docker_toolfactory
comparison test-data/html_output/My_dynamic_script.Rscript @ 0:0fa46413d0d9 draft
planemo upload for repository https://bitbucket.org/mvdbeek/dockertoolfactory/ commit 2f33eb59c06ac3d6ba6e22622fd4ae729eb5e4da-dirty
| author | mvdbeek |
|---|---|
| date | Sat, 03 Oct 2015 08:34:39 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:0fa46413d0d9 |
|---|---|
| 1 for (i in 1:10) { | |
| 2 foo = runif(100) | |
| 3 bar = rnorm(100) | |
| 4 bar = foo + 0.05*bar | |
| 5 pdf(paste('yet',i,"anotherplot.pdf",sep='_')) | |
| 6 plot(foo,bar,main=paste("Foo by Bar plot #",i),col="maroon", pch=3,cex=0.6) | |
| 7 dev.off() | |
| 8 foo = data.frame(a=runif(100),b=runif(100),c=runif(100),d=runif(100),e=runif(100),f=runif(100)) | |
| 9 bar = as.matrix(foo) | |
| 10 pdf(paste('yet',i,"anotherheatmap.pdf",sep='_')) | |
| 11 heatmap(bar,main='Random Heatmap') | |
| 12 dev.off() | |
| 13 } |
