import(parallel)
import(doParallel)
import(foreach)
import(stats)
import(SummarizedExperiment)
importFrom(IRanges,IRanges,reduce)
importFrom(S4Vectors,metadata,SimpleList)
importFrom(illuminaio,readIDAT)
importFrom(preprocessCore, normalize.quantiles)
importFrom(matrixStats, colMedians,colMads)
importFrom(grDevices,dev.off,jpeg,colorRampPalette, pdf)
importFrom(graphics,abline,axis,boxplot,hist,legend,
    lines,par,plot,polygon,text,points,mtext)
importFrom(methods, as, callNextMethod, is, new)
importFrom(utils, read.table,write.table,head,tail)
importFrom(geneplotter,multidensity)
importFrom(impute,impute.knn)
importFrom(RPMM,blc,betaObjf)
importFrom(dynamicTreeCut,printFlush)
importFrom(minfi,getProbeInfo,getManifestInfo,getControlAddress,
    detectionP,preprocessRaw,getAnnotation,featureNames,
    getProbeType)
importFrom(Biobase,featureNames,rowMedians)
importFrom(ExperimentHub,ExperimentHub)
importFrom(AnnotationHub,query)
importFrom(genefilter,rowFtests,rowttests)
importFrom(gplots,heatmap.2)
importFrom(quadprog,solve.QP)
importFrom(irr,icc)


exportClasses(rgDataSet,methDataSet)

export(preprocessENmix,
    nmode.mc,normalize.quantile.450k,norm.quantile,plotCtrl,
    QCinfo,QCfilter,pcrplot,freqpoly,multifreqpoly,
    rm.outlier,rcp,oxBS.MLE,ctrlsva,relic,mpreprocess,
    getB,B2M,M2B,rgDataSet,methDataSet,dupicc,
    calcdetP,getCGinfo,getmeth,readidat,
    readmanifest,estimateCellProp,predSex,methyAge,
    combp,ipdmr,mhtplot,p.qqplot)

