# NOT RUN {
data(PEAC_minimal_load)
disp <- apply(tpm, 1, function(x){
(var(x, na.rm=TRUE)-mean(x, na.rm=TRUE))/(mean(x, na.rm=TRUE)**2)
})
glmmFit <- glmmSeq(~ Timepoint * EULAR_6m + (1 | PATID),
id = 'PATID',
countdata = tpm[1:5, ],
metadata = metadata,
dispersion = disp,
verbose=FALSE)
fcPlot(glmmResult=glmmFit,
x1Label="Timepoint",
x2Label="EULAR_6m",
x2Values=c("Good responder", "Non responder"),
pCutoff=0.05,
useAdjusted = FALSE,
plotCutoff = 1,
graphics="plotly")
# }
Run the code above in your browser using DataLab