importFrom(affy, justRMA, list.celfiles, ReadAffy, mas5,
importFrom(GSA, GSA, GSA.read.gmt, GSA.listsets, GSA.genescores)
importFrom(FactoMineR, PCA, plot.PCA, MFA, plot.MFA,
importFrom(cluster, agnes, daisy, diana, pam)

importFrom("grDevices", "bitmap", "col2rgb", "dev.new", "dev.off",
"hist", "image", "layout", "legend", "lines", "matplot",
"chisq.test", "cor", "cor.test", "cov", "cutree", "density",
"kmeans", "na.omit", "p.adjust", "pchisq", "pf", "pt",
"pwilcox", "qqline", "qqnorm", "qqplot", "quantile",
"rwilcox", "sd", "shapiro.test", "t.test", "var",

importFrom("grDevices", "rainbow", "colors", "rgb", "pdf", "jpeg", "dev.off")
importFrom("graphics", "plot", "box", "axis", "rect", "image", "points",
"lines", "layout", "par", "polygon", "text", "legend",

# Export all names
exportPattern(".")
# Import all packages listed as Imports or Depends
import(fields, locfit)
importFrom("grDevices", "gray")
importFrom("graphics", "abline", "axis", "axis.POSIXct", "box",
"image", "lines", "locator", "par", "plot", "points")
importFrom("stats", "embed", "fft", "is.ts", "loess", "loess.control",
"predict", "qt", "sd", "splinefun", "ts")
useDynLib(EMD, .registration = TRUE, .fixes = "C_")

# Export all names
exportPattern(".")
# Import all packages listed as Imports or Depends
import(fields, locfit)
importFrom("grDevices", "gray")
importFrom("graphics", "abline", "axis", "axis.POSIXct", "box",
"image", "lines", "locator", "par", "plot", "points")
importFrom("stats", "embed", "fft", "is.ts", "loess", "loess.control",
"predict", "qt", "sd", "splinefun", "ts")
useDynLib(EMD, .registration = TRUE, .fixes = "C_")

importFrom("stats", "coef", "kmeans", "lm", "resid")

export("dcfust", "dfmcfust", "rcfust", "rfmcfust", "fmcfust", "init.fmcfust", "init.cfust", "fmcfust.contour.2d", "fmcfust.contour.3d", "summary.fmcfust", "fmmst")
importFrom("grDevices", "col2rgb", "colorRampPalette", "colors", "rgb")
importFrom("stats", "cov", "cov2cor", "kmeans", "pnorm", "pt","qgamma", "qnorm", "quantile", "rgamma", "runif", "uniroot","var")