Mercurial > repos > iuc > multiqc
annotate test-data/junction_saturation.txt @ 24:f7e2f1eb3a16 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
author | iuc |
---|---|
date | Mon, 02 Sep 2024 14:22:54 +0000 |
parents | abfd8a6544d7 |
children |
rev | line source |
---|---|
23
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
1 pdf('output.junctionSaturation_plot.pdf') |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
2 x=c(5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
3 y=c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
4 z=c(0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,3) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
5 w=c(0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
6 m=max(0,0,0) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
7 n=min(0,0,0) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
8 plot(x,z/1000,xlab='percent of total reads',ylab='Number of splicing junctions (x1000)',type='o',col='blue',ylim=c(n,m)) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
9 points(x,y/1000,type='o',col='red') |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
10 points(x,w/1000,type='o',col='green') |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
11 legend(5,0, legend=c("All junctions","known junctions", "novel junctions"),col=c("blue","red","green"),lwd=1,pch=1) |
abfd8a6544d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
diff
changeset
|
12 dev.off() |