Question: fitZig coefficient for interaction terms?
0
gravatar for nhuda6
3.5 years ago by
nhuda60
nhuda60 wrote:

Can metagenomSeq’s fitZig calculate coefficient for interaction terms (eg; gender*birthweight)?

metagenomeseq • 1.1k views
ADD COMMENTlink modified 3.5 years ago by Joseph Nathaniel Paulson270 • written 3.5 years ago by nhuda60
Answer: fitZig coefficient for interaction terms?
0
gravatar for Joseph Nathaniel Paulson
3.5 years ago by
United States
Joseph Nathaniel Paulson270 wrote:

Yes, just when you are defining your model.matrix, explicitly include the terms.

i.e.

mod = model.matrix(~gender*birthweight,data=phenodata)
ADD COMMENTlink written 3.5 years ago by Joseph Nathaniel Paulson270
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 219 users visited in the last hour