Mercurial > repos > yufei-luo > s_mart
comparison SMART/DiffExpAnal/DESeqTools/histoRawp.R @ 31:0ab839023fe4
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 14:33:21 -0400 |
parents | 94ab73e8a190 |
children |
comparison
equal
deleted
inserted
replaced
30:5677346472b5 | 31:0ab839023fe4 |
---|---|
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 |