export(
       is.phe, as.phe, read.phe, fread.phe, write.phe,
       is.ped, as.ped, read.ped, fread.ped, write.ped,
       is.pedlist, as.pedlist,
       is.pped, as.pped, read.pped,
       is.cped, as.cped, read.cped, fread.cped, write.cped,

       pedMarkerNames,

       affectionPhe,

       plotPed, plotCPed,

       pbat.create.commandfile,
       pbat.files, pbat.obj, pbat.m,

       pbat.get, pbat.set, pbat.setVersionCheck,

       pbat.getmode, pbat.setmode, pbat.setmode.defaults,

       pbat.getwine, pbat.setwine,

       pbat, pbat.last, pbat.last.rawResults,

       pbat.clean,

       is.finished, pbat.load, pbat.concatenate,

       pbat.power, pbat.powerCmd,

       pbat.help,
       pbat.firsttime,

       write.pbat, write.pbat.csv,

       c2bat,

       obfuscate,

       pbat.work, pbat.unwork,

       top, pbat.status
       )

import( tcltk )
import( survival )
import( rootSolve )

S3method( print,   pbat )
S3method( summary, pbat )
S3method( plot,    pbat )

S3method( print, phe )
S3method( sort, phe )

S3method( print, ped )
S3method( sort, ped )
S3method( print, pedlist )

S3method( print, cped )
S3method( sort, cped )

useDynLib(pbatR, .registration=TRUE)


importFrom("grDevices", "dev.off", "pdf")
importFrom("graphics", "lines", "par", "plot", "polygon", "segments",
           "text", "title")
importFrom("stats", "optim", "qnorm", "runif")
importFrom("utils", "installed.packages", "read.csv", "read.table",
           "tail", "write.csv", "write.table")
