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