Error in nbinomLRT while trying to follow time course analysis
1
0
Entering edit mode
shintzen • 0
@shintzen-18932
Last seen 5.9 years ago

I am trying to understand what this error means: Error in nbinomLRT(object, full = full, reduced = reduced, quiet = quiet, : less than one degree of freedom, perhaps full and reduced models are not in the correct order

I am following https://www.bioconductor.org/packages/devel/workflows/vignettes/rnaseqGene/inst/doc/rnaseqGene.html#time-course-experiments

I have a design where I am measuring cell types, alterations to the cell and time.

ddsTC <- DESeqDataSet(dds, ~ change + time + cell + change:time) ddsTC

class: DESeqDataSet dim: 36122 8 metadata(1): version assays(4): counts mu H cooks rownames(36122): ENSG00000000003 ENSG00000000419 ... ENSG00000283122 ENSG00000283125 rowData names(30): baseMean baseVar ... deviance maxCooks colnames: NULL colData names(5): sample_id change time cell sizeFactor

But when I run the next line I get the error mentioned above:

ddsTC <- DESeq(ddsTC, test="LRT", reduced = ~ change + time + cell + change:time)

How do you determine what the "correct order" would be?

deseq2 • 655 views
ADD COMMENT
2
Entering edit mode
@mikelove
Last seen 4 days ago
United States

Check the vignette section on the LRT. The reduced design should have fewer terms than the full design. Above you have the identical design for both.

ADD COMMENT

Login before adding your answer.

Traffic: 499 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6