Permutation for p-values in differential expression analysis

Share:

Description

Calculate permutation p-values in differential expression analysis for each genes.

Usage

1
DEpermutePval(DEGres, permuteNBstat)

Arguments

DEGres

the output of DENBStat4GSEA.

permuteNBstat

the output of DENBStatPermut4GSEA.

Value

A data frame containing the expression means and variances for each gene in each group compared, and NB-stats, permutation p-values and adjusted p-values for each gene.

Author(s)

Xi Wang, xi.wang@newcastle.edu.au

See Also

runDESeq, DENBStat4GSEA, DENBStatPermut4GSEA, DENBTest

Examples

1
2
3
4
5
6
7
8
9
data(RCS_example, package="SeqGSEA")
permuteMat <- genpermuteMat(RCS_example, times=10)
geneCounts <- getGeneCount(RCS_example)
label <- label(RCS_example)
DEG <- runDESeq(geneCounts, label)
DEGres <- DENBStat4GSEA(DEG)
DEpermNBstat <- DENBStatPermut4GSEA(DEG, permuteMat)
DEGres <- DEpermutePval(DEGres, DEpermNBstat) 
head(DEGres)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.