annotate SMART/DiffExpAnal/DESeqTools/histoRawp.R @ 33:aa0420172fc6

Deleted selected files
author m-zytnicki
date Tue, 30 Apr 2013 14:34:53 -0400
parents 94ab73e8a190
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
1 # histoRawp
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
2 # histogram of raw p-values
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
3
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
4 # input : res, OUT_histoRawpName
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
5 # output : histogram (png)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
6
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
7
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
8 histoRawp <- function( res, OUT_histoRawpName, out = TRUE ){
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
9
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
10 if (out) png( file=OUT_histoRawpName )
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
11
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
12 ind <- grep("val", colnames(res))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
13 hist( res[,ind], nclass=50, xlab="Raw p-values", main="", col="skyblue" )
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
14
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
15 if (out) dev.off()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
16 }
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
17
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
18