Mercurial > repos > xuebing > bed_size_stat
changeset 5:e9bc2ab48dd5 default tip
Uploaded
author | xuebing |
---|---|
date | Sat, 31 Mar 2012 18:55:56 -0400 |
parents | a65882e1636c |
children | |
files | bed_size_stat.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bed_size_stat.py Sat Mar 31 18:52:24 2012 -0400 +++ b/bed_size_stat.py Sat Mar 31 18:55:56 2012 -0400 @@ -14,9 +14,9 @@ rf.write("pdf('"+outputfile+"')\n") if log == 'log': rf.write("len <- log10(len+1)\n") - rf.write("hist(len,breaks=100,xlab='interval size',main=paste('mean=',mean(len),sep=''))\n") + rf.write("hist(len,breaks=100,xlab='interval size (log10)',main=paste('mean=',mean(len),sep=''))\n") else: - rf.write("hist(len,breaks=100,xlab='interval size (log10)',main=paste('mean=',mean(len),sep=''))\n") + rf.write("hist(len,breaks=100,xlab='interval size',main=paste('mean=',mean(len),sep=''))\n") rf.write("dev.off()") rf.close() os.system("R --vanilla < tmp.r")