Add interaction term between variables to DEXSeq design
0
0
Entering edit mode
zhenzuo2 • 0
@zhenzuo2-19411
Last seen 5.9 years ago

I am trying to use DEXSeq::testForDEU() to compare two models with likelihood ratio test. The null model can be written as Y = β0 + β1 S + β2 T + ε and the full model can be written as Y = β0 + β1 S + β2 T + β_3 (S*T) + ε. In DEXSeq manual, it says "It must specify an interaction term between a variable from the sampleData columns with the ’exon’ variable". How can I add another interaction term between two variables to the full model? Current, I wrote the "fullModel" as "~sample + exon + S:exon + T:exon + S:T:exon" and "reducedModel" as "~sample + exon + S:exon + T:exon". Does it make sense to write full model's interaction term "S:T:exon" this way? Thank you.

DEXSeq interaction • 1.1k views
ADD COMMENT
0
Entering edit mode

Hi zhenzuo2. Definitely, you can test the hypothesis that you wrote down using exactly the formulae that you mentioned.

ADD REPLY

Login before adding your answer.

Traffic: 952 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