rnorm, fft, numericDeriv, runif, setNames)
krige0, krigeST, krigeSTTg, krigeSimCE, krigeSTSimTB, vgmAreaST,

gsw_Sstar_from_SA, # FIXME: clean when done
gsw_Sstar_from_SP, # FIXME: clean when done

importFrom("stats", "na.omit", "quantile", "sd", "var")

importFrom("stats", "na.omit", "quantile", "sd", "var", "cov")
"scale_colour_manual", "aes", "annotate", "ggtitle", "scale_color_discrete", "scale_color_manual",

importFrom("stats", "na.omit", "quantile", "sd", "var", "cov", "lm", "predict",
"scale_colour_manual", "aes", "annotate", "ggtitle", "geom_rect", "scale_color_discrete", "scale_color_manual", "ggplotGrob",

importFrom("stats", "anova", "as.formula", "deviance", "df.residual","lm", "residuals")
exportPattern("^[[:alpha:]]+")

importFrom("stats", "anova", "as.formula", "deviance", "df.residual","lm", "residuals","quantile")
exportPattern("^[[:alpha:]]+")

importFrom("stats", "na.omit", "quantile", "rgamma", "symnum")
useDynLib(gtools, .registration = TRUE, .fixes = "C_")

export(coeff.extract, grs.onesnp.apply, grs.make.scores, grs.summary, grs.plot, grs.filter.Qrs)
export(test.subsample) ## hacky code, to deprecate
export(read.snpdata.mach, read.snpdata.plink, read.snpdata.impute, allelesAB, align.snpdata.coding)
export(is.moments2, make.moments2, lm.moments2, est.moments2, combine.moments2)

export(read.snpdata.mach, read.snpdata.minimac, read.snpdata.plink, read.snpdata.impute, allelesAB, align.snpdata.coding)

importFrom("stats", "na.omit", "var", "aggregate", "as.formula")

importFrom("stats", cor, dexp, dgamma, ecdf, optim, optimize, pexp, pgamma, rexp, runif, var)

importFrom("dplyr", "mutate", "%>%", "filter", "left_join", "select", "group_by",
importFrom("utils", "head", "write.csv", "data", "tail")
importFrom("zoo", "zoo", "as.yearmon", "index", "coredata", "as.zoo", "as.Date")
importFrom("ggplot2", "ggplot", "aes", "theme_set", "theme_bw", "ggtitle", "ylab", "xlab",
"scale_x_date", "geom_line", "scale_colour_manual", "theme", "element_blank", "facet_wrap")

importFrom("utils", "head", "write.csv", "data", "tail", "compareVersion")
"scale_x_date", "geom_line", "scale_colour_manual", "theme", "element_blank",