importFrom("raster", raster, contour, as.matrix, image)
importFrom("graphics", symbols, segments, par, plot)
importFrom("stats", cutree, hclust, dist, sd, nls, binomial, coef, glm, na.omit, rnorm, runif)

importFrom("graphics", symbols, segments, par, lines, plot)
importFrom("minpack.lm", nls.lm, nls.lm.control, nlsLM, wfct)
importFrom("stats", cutree, hclust, dist, sd, binomial, coef, glm, na.omit, rnorm, runif)

importFrom("graphics", symbols, segments, par, plot, image)

importFrom("raster", raster, contour, as.matrix, image,reclassify,writeRaster, stack)
importFrom("stats", cutree, hclust, dist, sd, binomial, coef, glm, na.omit, rnorm, runif,lm)

importFrom("graphics", symbols, segments, par, lines, plot, points, hist)
importFrom("stats", cutree, hclust, dist, sd, binomial, coef, glm, na.omit, rnorm, runif,lm, density, rbinom, dbinom)

importFrom("rgrass7", execGRASS, readRAST, initGRASS, use_sp)

export(Meta_Null_Model, MetaSKAT_wZ, MetaSKAT_MSSD_OneSet, Open_MSSD_File_2Read, Generate_Meta_Files, MetaSKAT_MSSD_ALL)

export(Meta_Null_Model, MetaSKAT_wZ, MetaSKAT_MSSD_OneSet, Open_MSSD_File_2Read, Generate_Meta_Files

importFrom("SKAT", "Get_Lambda", "Get_Liu_PVal", "SKAT_Check_Method", "SKAT_Optimal_Each_Q", "SKAT_Optimal_PValue_Davies", "SKAT_Optimal_PValue_Liu", "Get_Davies_PVal", "SKAT_Null_Model","SKAT_NULL_emmaX")

importFrom("graphics", "abline", "grid", "lines", "title")

importFrom("graphics", "abline", "axis", "frame", "image", "layout",
"legend", "mtext", "pairs", "par", "plot", "points", "text",
importFrom("stats", "as.dendrogram", "cmdscale", "cov", "dist",
"gaussian", "glm", "hclust", "order.dendrogram", "qnorm",

importFrom("stats", "cor", "pnorm", "rnorm", "t.test", "var")

importFrom("stats", "printCoefmat", "quantile", "rexp", "runif", "sd", "cov", "rnorm")

importFrom("stats", "binomial", "cov", "glm", "lm", "model.matrix",

export(setSimHorizon, buildTransitionMatrix, micSim, micSimParallel, convertToLongFormat)

importFrom(chron, chron, years, days, dates)
importFrom(snowfall, sfInit, sfLibrary, sfExportAll, sfClusterSetupRNGstream, sfLapply, sfStop)
importFrom(stats, integrate, reshape, runif, uniroot)