# NOT RUN {
data(example.data)
## Run the null model:
nullmod <- null(trait ~ age + sex, phenodata, kin)
## SKAT with the null model object obtained in the first run:
out <- FFBSKAT(trait ~ age + sex, phenodata, genodata, kin, nullmod)
# }
Run the code above in your browser using DataLab