Mercurial > repos > yufei-luo > s_mart
diff SMART/DiffExpAnal/DESeqTools/histoRawp.R @ 31:0ab839023fe4
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 14:33:21 -0400 |
parents | 94ab73e8a190 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SMART/DiffExpAnal/DESeqTools/histoRawp.R Tue Apr 30 14:33:21 2013 -0400 @@ -0,0 +1,18 @@ +# histoRawp +# histogram of raw p-values + +# input : res, OUT_histoRawpName +# output : histogram (png) + + +histoRawp <- function( res, OUT_histoRawpName, out = TRUE ){ + + if (out) png( file=OUT_histoRawpName ) + + ind <- grep("val", colnames(res)) + hist( res[,ind], nclass=50, xlab="Raw p-values", main="", col="skyblue" ) + + if (out) dev.off() +} + +