# Imports
import("igraph")
importFrom("stats", cov2cor, optim, qqplot, quantile, coef, lm.fit,
           nlm, optimize)
importFrom("methods", hasArg, is)
importFrom("expm", sqrtm)
importFrom("Hmisc", minor.tick)
importFrom("snowfall", sfInit, sfLibrary, sfSapply, sfStop)
importFrom("fdrtool", fdrtool)
importFrom("ggplot2", ggplot, aes, geom_tile, scale_fill_gradient2, theme,
           element_blank, element_text, xlab, ylab, ylim, ggtitle)
importFrom("sfsmisc", lseq)
importFrom("utils", capture.output)
importFrom("grDevices", dev.off, pdf, postscript, setEPS, rainbow)
importFrom("graphics", abline, axis, hist, legend, lines,
           mtext, par, plot, text, rug)
import("reshape")

# Exports
exportPattern("^[[:alpha:]]+")

# Registering S3 methods
S3method(print, "ptest")
S3method(summary, "ptest")
S3method(plot, "ptest")
S3method(hist, "ptest")
S3method(plot, "optPenaltyFusedGrid")
S3method(print, "optPenaltyFusedGrid")

# Register shared object (to make Rcpp work)
useDynLib(rags2ridges)
