formula
.
Fitting uses previously calculated sizeFactors
(or normalizationFactors
)
and dispersion estimates.
nbinomLRT(object, full = design(object), reduced, betaPrior = FALSE, betaPriorVar, modelMatrixType = "standard", maxit = 100, useOptim = TRUE, quiet = FALSE, useQR = TRUE)
design(object)
.
alternatively, can be a matrixnbinomWaldTest
.DESeq
, is
formed. "standard" is as created by model.matrix
using the
design formula. "expanded" includes an indicator variable for each
level of factors in addition to an intercept,
in order to ensure that the log2 fold changes are independent
of the choice of reference level.
betaPrior must be set to TRUE in order for expanded model matrices
to be fit.results
function. The coefficients and standard errors are
reported on a log2 scale.
nbinomGLMTest
of the previous version of DESeq
and an alternative to the default nbinomWaldTest
.
DESeq
, nbinomWaldTest
dds <- makeExampleDESeqDataSet()
dds <- estimateSizeFactors(dds)
dds <- estimateDispersions(dds)
dds <- nbinomLRT(dds, reduced = ~ 1)
res <- results(dds)
Run the code above in your browser using DataLab