import(BRISC, parallel, stats, matrixStats, randomForest, pbapply)

importFrom("graphics", "axis", "hist", "layout", "legend", "lines", "plot")

importFrom("vegan", "vegdist", "designdist", "specnumber", "specaccum")

importFrom("graphics", "axis", "mtext", "par", "plot", "text")

importFrom("graphics", "abline", "mtext", "plot", "points")

importFrom("graphics", "abline", "mtext", "plot", "points", "legend", "lines")

importFrom("grDevices", "heat.colors", "dev.off", "pdf", "rgb")
importFrom("graphics", "contour", "image", "legend", "par", "plot", "polygon", "rect", "segments", "strheight", "strwidth", "text")
importFrom("stats", "pchisq", "quantile", "rnorm", "kmeans", "glm", "binomial", "pt", "chisq.test", "kruskal.test", "qnorm", "uniroot", "as.formula", "var", "lm")
importFrom("utils", "read.table", "write.table", "head", "tail")
importFrom("Rcpp", "evalCpp") # just to avoid << function 'enterRNGScope' not provided by package 'Rcpp' >> error
importFrom("gaston", "rbind", "cbind", "select.snps", "select.inds", "set.stats", "is.autosome", "as.bed.matrix")
export(SKAT, SKAT.theoretical, SKAT.bootstrap, SKAT.permutations, SKAT.continuous)

importFrom("stats", "pchisq", "quantile", "rnorm", "kmeans", "glm", "binomial", "pt", "chisq.test", "kruskal.test", "qnorm", "uniroot", "as.formula", "var", "lm", "qchisq")

importFrom("stats", "pchisq", "quantile", "rnorm", "kmeans", "glm", "binomial", "pt", "chisq.test", "kruskal.test", "qnorm", "uniroot", "as.formula", "var", "lm", "qchisq", "logLik", "relevel")

useDynLib(Rbeast, .registration = TRUE, .fixes = "SARAH_")
importFrom("graphics", "axis", "layout", "par", "plot", "points", "polygon", "rect", "title")

useDynLib(Rbeast, .registration = TRUE, .fixes = "BEASTV4_")
importFrom("grDevices", "col2rgb", "dev.new","dev.off", "dev.size", "getGraphicsEvent", "rgb", "setGraphicsEventHandlers")

export(BioCyc2ChEBI, BioCyc2cName, BioCyc2KEGG, BioCyc2PubChem, BioCyc.is.generic, get.ChEBI, get.Rhea, BioCyc.instantiate, parse.ChEBI, parse.MetaCyc.c, parse.MetaCyc.r, parse.Rhea, Rhea2cName, Rhea2KEGG, Rhea.instantiate, Rhea.is.generic, Rhea.massBal, BioCyc.massBal)
import(gdata, CHNOSZ, hash, doMC)