useDynLib(BGLR)

importFrom("graphics", "abline", "plot")
importFrom("stats", "cor", "dbeta", "dchisq", "dexp", "dgamma",
           "dnorm", "model.frame", "model.matrix", "pnorm", "qnorm",
           "rbeta", "rbinom", "rchisq", "rgamma", "rnorm", "runif",
           "var", "weighted.mean")
importFrom("utils", "read.table")

export(BGLR,BLR,
       read_bed,read_ped, write_bed,readBinMat,getVariances)

exportMethods(BGLR)

#S3method(effects, BGLR)
S3method(plot, BGLR)
S3method(residuals, BGLR)
S3method(predict,BGLR)
S3method(summary,BGLR)
