zscoreDGE | R Documentation |
Calculate mid-p quantile residuals
zscoreDGE(y, design = NULL, contrast = ncol(design))
y |
An DGEList object |
design |
Design matrix |
contrast |
Contrast vector The function is a carbon copy of edgeR:::.zscoreDGE, which is unfortunately not exported |
dgeMatrix <- matrix(rpois(1200, 10), nrow=200)
dgeList <- DGEList(dgeMatrix)
dgeList <- edgeR::estimateCommonDisp(dgeList)
dgeDesign <- model.matrix(~gl(2,3))
dgeZscore <- zscoreDGE(dgeList, dgeDesign, contrast=c(0,1))
head(dgeZscore)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.