Mercurial > repos > yufei-luo > differential_expression_analysis_pipeline_for_rnaseq_data
comparison deseq/differential_expression_analysis_pipeline_for_rnaseq_data-a03838a6eb54/DiffExpAnal/DESeqTools/histoRawp.R @ 10:6e573fd3c41b draft
Uploaded
author | yufei-luo |
---|---|
date | Mon, 13 May 2013 10:06:30 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:a03838a6eb54 | 10:6e573fd3c41b |
---|---|
1 # Marie-Anges Dillies | |
2 # histoRawp | |
3 # histogram of raw p-values | |
4 | |
5 # input : res, OUT_histoRawpName | |
6 # output : histogram (png) | |
7 | |
8 | |
9 histoRawp <- function( res, OUT_histoRawpName, out = TRUE ){ | |
10 | |
11 if (out) png( file=OUT_histoRawpName ) | |
12 | |
13 ind <- grep("val", colnames(res)) | |
14 hist( res[,ind], nclass=50, xlab="Raw p-values", main="", col="skyblue" ) | |
15 | |
16 if (out) dev.off() | |
17 } | |
18 | |
19 |