Mercurial > repos > nilesh > rseqc
comparison test-data/output.junctionSaturation_plot_r @ 59:dbedfc5f5a3c draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
| author | iuc |
|---|---|
| date | Sat, 18 Dec 2021 19:41:19 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 58:1a052c827e88 | 59:dbedfc5f5a3c |
|---|---|
| 1 pdf('output.junctionSaturation_plot.pdf') | |
| 2 x=c(5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100) | |
| 3 y=c(0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1) | |
| 4 z=c(0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,3) | |
| 5 w=c(0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2) | |
| 6 m=max(0,0,0) | |
| 7 n=min(0,0,0) | |
| 8 plot(x,z/1000,xlab='percent of total reads',ylab='Number of splicing junctions (x1000)',type='o',col='blue',ylim=c(n,m)) | |
| 9 points(x,y/1000,type='o',col='red') | |
| 10 points(x,w/1000,type='o',col='green') | |
| 11 legend(5,0, legend=c("All junctions","known junctions", "novel junctions"),col=c("blue","red","green"),lwd=1,pch=1) | |
| 12 dev.off() |
