view 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 source

# 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()
}