annotate ezBAMQC/test-data/output/data/smp2.read_distr.r @ 20:9de3bbec2479 draft default tip

Uploaded
author youngkim
date Thu, 31 Mar 2016 10:10:37 -0400
parents dfa3745e5fd8
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/smp2.read_distr.png",width=500,height=500,units="px")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2 M=c(22143,1293,15499,7798,156,511,5939,21398)
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()