Open MANZHAOHUI opened 3 months ago
Hi Zhaohui,
Thank you for your question.
Yes, you can. You just need to add the interaction term when building the design matrix. Please see my reply to the previous question https://github.com/lhe17/nebula/issues/16
Best regards, Liang
On Tue, Mar 26, 2024 at 12:48 PM ZHAOHUI MAN @.***> wrote:
Hi Dr. He, I am wondering if It is possible to put an interaction term in Nebula. I am looking at some sex specific effects in the single cell data and was wanting to set up a model like
Y ~ age + sex + diagnosis + sex*diagnosis + random(sample) + PMI
Is it feasible to use sex*diagnosis term? Thank you.
— Reply to this email directly, view it on GitHub https://github.com/lhe17/nebula/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDISUWS5EGKHUS2H5JSCP3Y2GRFDAVCNFSM6AAAAABFJJ3CACVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDQNZYGA3TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you. It is very helpful.
Hi Dr. He, I am wondering if It is possible to put an interaction term in Nebula. I am looking at some sex specific effects in the single cell data and was wanting to set up a model like
Y ~ age + sex + diagnosis + sex*diagnosis + random(sample) + PMI
Is it feasible to use sex*diagnosis term? Thank you.