nbinomGLMTest(DESeq)
nbinomGLMTest()所属R语言包:DESeq
Perform chi-squared tests comparing two sets of GLM fits
执行卡方测试,比较两组的GLM适合
译者:生物统计家园网 机器人LoveR
描述----------Description----------
For each gene, the function calculates a chi-square p value by simply calculating: 1 - pchisq(resReduced$deviance - resFull$deviance, attr(resReduced, "df.residual") - attr(resFull, "df.residual"))
对于每一个基因,该函数计算卡方的p值通过简单的计算:1 - pchisq(resReduced$deviance - resFull$deviance, attr(resReduced, "df.residual") - attr(resFull, "df.residual"))
用法----------Usage----------
nbinomGLMTest(resFull, resReduced)
参数----------Arguments----------
参数:resFull, resReduced
GLM fit data frames, as returned by fitNbinomGLMs, first the full, then the reduced model.
的GLM合适的数据框,因为返回fitNbinomGLMs,先满,然后减少模型。
值----------Value----------
a vector of p values
p值向量
作者(S)----------Author(s)----------
Simon Anders, anders@embl.de
参见----------See Also----------
fitNbinomGLMs
fitNbinomGLMs
举例----------Examples----------
cds <- makeExampleCountDataSet()[ 1:100, ]
cds <- estimateSizeFactors( cds )
cds <- estimateDispersions( cds, method="pooled" )
fit1 <- fitNbinomGLMs( cds, count ~ condition )
fit0 <- fitNbinomGLMs( cds, count ~ 1 )
nbinomGLMTest( fit1, fit0 )
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|