Mercurial > repos > yufei-luo > s_mart
annotate SMART/DiffExpAnal/DESeqTools/histoRawp.R @ 33:aa0420172fc6
Deleted selected files
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 14:34:53 -0400 |
parents | 94ab73e8a190 |
children |
rev | line source |
---|---|
18 | 1 # histoRawp |
2 # histogram of raw p-values | |
3 | |
4 # input : res, OUT_histoRawpName | |
5 # output : histogram (png) | |
6 | |
7 | |
8 histoRawp <- function( res, OUT_histoRawpName, out = TRUE ){ | |
9 | |
10 if (out) png( file=OUT_histoRawpName ) | |
11 | |
12 ind <- grep("val", colnames(res)) | |
13 hist( res[,ind], nclass=50, xlab="Raw p-values", main="", col="skyblue" ) | |
14 | |
15 if (out) dev.off() | |
16 } | |
17 | |
18 |