importFrom("stats", "AIC", "binomial", "glm", "lm", "predict","coef")

importFrom("graphics", "abline", "axis", "barplot", "boxplot", "hist",
"lines", "mtext", "par", "points", "text", "plot")
importFrom("stats", "dist", "dpois", "kmeans", "median", "quantile",

importFrom("graphics", "lines", "persp", "points", "polygon", "text")

importFrom("graphics", "abline", "axis", "legend", "lines", "mtext", "par", "persp", "rect", "segments", "text")
importFrom("grDevices", "col2rgb", "colorRampPalette", "gray", "rgb")
importFrom("stats", "dmultinom", "quantile", "rmultinom", "smooth.spline")

import(datasets,utils,grDevices,graphics,stats,sets, pbapply, reliaR, kerdiest, triangle, rgenoud)

single.snp.test.families , single.snp.test.survival , multi.snp.test,
single.haplotype.test,  single.haplotype.test.binomial , single.haplotype.test.families ,

#export(haplin, print.haplin, plot.haplin, summary.haplin, print.summary.haplin, summary.tri.glm, print.summary.tri.glm, f.triad.to.transmit, f.transmit.to.triad, haptable, f.LD, f.read.data, f.prep.data.new, f.create.tag, f.HWE.design, f.sort.alleles.new, f.preliminary.freq.new, f.repl.thin, f.EM.missing, f.tri.glm, f.pos.in.grid, f.groupsum)

export(haplin, haptable, pedToHaplin, haplinTDT, haplinSlide, output)

export(haplin, haplinSlide, suest, haptable, pedToHaplin, haplinTDT, pQQ, gwaaToHaplin, prepPed, toDataFrame, output)

export(haplin, haplinSlide, suest, haptable, pedToHaplin, haplinTDT, pQQ, gwaaToHaplin, prepPed, toDataFrame)
#export(haplinStrat, output, postTest, f.triad.to.transmit, f.transmit.to.triad, f.LD)

#export(haplinStrat, postTest, f.triad.to.transmit, f.transmit.to.triad, f.LD)

export(haplin, haplinSlide, suest, haptable, pedToHaplin, haplinTDT, pQQ, gwaaToHaplin, prepPed, toDataFrame, output, convertPed, lineByLine)
#export(haplinStrat, postTest, f.triad.to.transmit, f.transmit.to.triad, f.LD, snpPos)

export(haplin, haplinSlide, suest, haptable, pedToHaplin, haplinTDT, pQQ, gwaaToHaplin, prepPed, toDataFrame, output, convertPed, lineByLine, cbindFiles, rbindFiles, snpPower, snpSampleSize)
importFrom(snow, sendCall, recvResult, postNode, closeNode)