# NOT RUN {
## Reading 'FAMTdata'
data(expression)
data(covariates)
data(annotations)
chicken = as.FAMTdata(expression,covariates,annotations,idcovar=2)
# Classical method with modelFAMT
# }
# NOT RUN {
modelpval=modelFAMT(chicken,x=c(3,6),test=6,nbf=0)
# }
# NOT RUN {
summaryFAMT(modelpval)
# }
# NOT RUN {
# FAMT complete multiple testing procedure
# when the optimal number of factors is unknown
# }
# NOT RUN {
model = modelFAMT(chicken,x=c(3,6),test=6)
# when the optimal number of factors has already been estimated
model = modelFAMT(chicken,x=c(3,6),test=6,nbf=3)
summaryFAMT(model)
hist(model$adjpval)
# }
Run the code above in your browser using DataLab