Description Usage Arguments Value References See Also Examples
View source: R/utility03282012.r
draw.DEnumber(result,maxcut,mlty=NULL,mcol=NULL,mlwd=NULL,mpch=NULL,FDR=TRUE)
plot the number of DE genes against FDR obtained from the Meta-analysis.
1 |
result |
A p-value matrix or an object file from metaDE.rawdata.pvalue,metaDE.pvalue,metaDE.minMCC, metaDE.ES |
FDR |
use FDR for cutpoints if true, p-value otherwise |
maxcut |
The maximum cut point for FDR or P-value |
mlty |
line type for each line. default is set |
mcol |
line colour. defaut is set |
mlwd |
line width for each line. default is set |
mpch |
symbol for each line. default is set |
A figure containing:
figure |
p-value(or FDR) vs numberof detected genes for individual analysis as well as meta analysis. |
Li and Tseng (2011) and Lu, Li and Tseng (2009).
1 2 3 4 5 6 7 8 9 10 11 12 13 | #---example 1: Meta analysis of Differentially expressed genes between two classes----------#
label1<-rep(0:1,each=5)
label2<-rep(0:1,each=5)
exp1<-cbind(matrix(rnorm(5*200),200,5),matrix(rnorm(5*200,2),200,5))
exp2<-cbind(matrix(rnorm(5*200),200,5),matrix(rnorm(5*200,1.5),200,5))
x<-list(list(exp1,label1),list(exp2,label2))
# here I used modt to generate p-values.
DEgene<-ind.analysis(x,ind.method=rep("regt",2),tail="abs",nperm=100)
#--then you can use Fisher's method to combine the above p-values
res<-MetaDE.pvalue(DEgene,meta.method='Fisher')
draw.DEnumber(res,FDR=TRUE,maxcut=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.