Mercurial > repos > yufei-luo > s_mart
diff SMART/DiffExpAnal/DESeqTools/histoRawp.R @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SMART/DiffExpAnal/DESeqTools/histoRawp.R Mon Apr 29 03:20:15 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() +} + +