fixed effect vs random effects RNA analysis
Hi, when choosing a formula for the differential expression analysis in R, for e.g. to RNA count data, how do i choose exactly in which variable put the (1|x), i.e. when a variable must be modeled as random or fixed effect ? The decision is only based if the variable is continuous or categorical?
what are the differences between
~ feature + AGE + (1|SEX) + (1|GROUP) + (1|Individual) and
~ feature + AGE + SEX + GROUP + (1|Individual)
where group is the category of a subject and individual is just the ID used for dealing with repeated measures.
• 107 views