useDynLib(BatchMap, .registration = TRUE)

## Import all packages listed as Imports or Depends
import(ggplot2)
import(parallel)
importFrom("graphics", "Axis", "abline", "axis", "image", "layout",
           "lines", "mtext", "par", "plot", "points", "text", "title")
importFrom("methods", "is")
importFrom("stats", "as.dist", "chisq.test", "cor", "cor.test", "dist",
           "median", "na.omit", "qchisq", "sd")
importFrom("utils", "flush.console", "head", "setTxtProgressBar",
           "tail", "txtProgressBar")
## Export all names
exportPattern(".")

# S3 methods
S3method(plot, onemap)
S3method(plot, onemap.segreg.test)
S3method(plot, by.segreg.type)
S3method(print, compare)
S3method(print, group)
S3method(print, onemap)
S3method(print, onemap.bin)
S3method(print, onemap.segreg.test)
S3method(print, order)
S3method(print, outcross)
S3method(print, rf.2pts)
S3method(print, sequence)
S3method(print, try)
