annotate ezBAMQC/test-data/output/data/smp1.read_distr.r @ 0:dfa3745e5fd8

Uploaded
author youngkim
date Thu, 24 Mar 2016 17:12:52 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1 png("/sonas-hs/bsr/hpc/data/yjin/test_BAMqc/exp/test1/figs/smp1.read_distr.png",width=500,height=500,units="px")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2 M=c(24849,1533,16115,8729,205,453,7563,14335)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3 Mname=c("CDS","5UTR","3UTR","Intron","TSS_Up_1Kb","TES_Down_1Kb","rRNA","Others")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4 val = barplot(M,xlab="",space=1,ylab="Read Counts",col="blue",border="NA")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
5 text(x=seq(val[1],val[8],by=2),y=rep(0,8),srt=60,adj=0,offset=2,pos=1,xpd=T,labels=Mname)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
6 dev.state = dev.off()