useDynLib(sumFREGAT, .registration = TRUE)

import(Matrix)
import(splines)

importFrom("methods", "as", "is")
importFrom("stats", "dbeta", "dchisq", "glm",
             "integrate", "knots", "pf", "qnorm",
             "pchisq", "pnorm", "qchisq", "uniroot",
             "var", "weights", "optimize", "pcauchy")
importFrom("utils", "capture.output", "read.table", "write.table")

export(ACAT)
export(ACATO)
export(sumSTAAR)
export(simpleM)
export(minp)
export(SKAT)
export(SKATO)
export(sumchi)
export(BT)
export(FLM)
export(PCA)
export(prep.score.files)

