importFrom("grDevices", "dev.off", "pdf", "png", "colorRampPalette")
importFrom("stats", "as.formula", "median", "prcomp", "sd", "var", "coef", "p.adjust", "relevel")

importFrom("graphics", "arrows", "axis", "layout", "legend", "mtext", "par", "plot", "plot.new")
importFrom("stats", "coef", "cor", "glm", "na.exclude", "predict", "var")

exportClasses("eDat", "DataSet", "NumbSample", "Genes", "HistComp", "hc", "writeRDS", "writeCSV", "writePDF","destDIR", "filePathway", "path", "MeanData", "p.value", "p")

export(createAdaptiveRandomWalkProposal, createMixtureTarget, createTrimodalTarget, adaptiveMH, preexplorationAMH, pawl,
PlotComp1vsComp2, PlotLogTheta, PlotFH, PlotAllVar, PlotDensComp1vsComp2, PlotHist,
exportMethods(target, show, binning, tuningparameters, proposal)

export(createAdaptiveRandomWalkProposal, createMixtureTarget, createTrimodalTarget, adaptiveMH, preexplorationAMH,
exportClasses(target, binning, tuningparameters, proposal, smcparameters)
exportMethods(target, show, binning, tuningparameters, proposal, smcparameters)

importFrom("copula", rCopula, pCopula, gumbelCopula, fgmCopula, frankCopula, normalCopula, amhCopula, joeCopula)

importFrom("stats", "integrate", "rgeom", "runif", "setNames", "uniroot")

plotPairwiseTests, recalculateLogLik, groupDisp, obsDisp, boxplotInTime

plotPairwiseTests, recalculateLogLik, groupDisp, obsDisp, boxplotInTime, calculateScoreEur
importFrom("graphics", "Axis", "abline", "axis", "boxplot", "hist",
"lines", "par", "plot", "points", "rug", "segments")

# Import the S4 options manager from PBSmodelling

# Packages declared in the 'Depends' field should not also be in the 'Imports' field (from R-exts.pdf).
# For PBSadmb I have to IMPORT and DEPEND on PBSmodelling.
#   IMPORT alone cannot find `ComboBox` when `admb()` is called.
# Import the S4 options manager from PBSmodelling (doesn't work)

importFrom("graphics", "axis", "lines", "mtext", "pairs", "par", "points")

# exportPattern(".") # temporary default

importFrom("grDevices", "col2rgb", "colorRamp", "contourLines", "dev.list", "dev.new", "rgb")
importFrom("graphics", "abline", "axis", "box", "frame", "legend",
"lines", "locator", "par", "points", "polygon", "strheight",