import(methods)
importClassesFrom(Biobase, AnnotatedDataFrame, phenoData, AssayData, eSet, ExpressionSet, Versioned, VersionedBiobase, Versions)
importMethodsFrom(Biobase, 
			    annotation, "annotation<-", 
				assayData, "assayData<-", 
			    experimentData, "experimentData<-",
			    featureData, "featureData<-", 
			    featureNames, "featureNames<-",
			    pData, "pData<-",
			    phenoData, "phenoData<-", 
				exprs, "exprs<-",
				se.exprs, "se.exprs<-",
			    sampleNames, "sampleNames<-",
				varLabels, varMetadata,
			    coerce, combine, dim, initialize, notes, storageMode, show, "[", "[[", "$")

importClassesFrom(methylumi, MethyLumi, MethyLumiSet)
importMethodsFrom(methylumi, methylated, unmethylated, "methylated<-", "unmethylated<-")
importFrom(methylumi, methylumiR)

importFrom(mgcv, gam, smoothCon, mono.con, pcls, s, Predict.matrix)
importFrom(KernSmooth, locpoly)
importFrom(hdrcde, hdr.boxplot)
importFrom(annotate, lookUp, getSYMBOL)
importClassesFrom(RSQLite, SQLiteDriver, SQLiteConnection)
importMethodsFrom(RSQLite, dbReadTable, dbListTables, dbConnect, dbDisconnect, dbListFields)
importFrom(DBI, dbReadTable, dbListTables, dbConnect, dbDisconnect, dbListFields, dbDriver, dbDataType, dbCommit, dbClearResult, SQLKeywords)

importClassesFrom(AnnotationDbi, AnnDbBimap)
importMethodsFrom(AnnotationDbi, "[", mappedkeys, as.list)

importFrom(graphics, pairs, plot, boxplot, hist, image, lines, matplot, points, abline, axis, par, text)
importFrom(stats, density, heatmap)
importFrom(MASS, rlm, psi.bisquare)
importFrom(affy, normalize.loess, mva.pairs, bg.adjust, plotDensity)
importFrom(preprocessCore, normalize.quantiles, normalize.quantiles.robust)

exportClasses(LumiBatch, MethyLumiM)
exportMethods(beadNum, "beadNum<-", boxplot, combine, density, detection, "detection<-", getHistory, hist, MAplot, pairs, plot, sampleNames, "sampleNames<-", exprs, "exprs<-", se.exprs, "se.exprs<-", methylated, "methylated<-", unmethylated, "unmethylated<-",
show, summary, "[", coerce)

export(IlluminaID2nuID, addControlData2lumi, addNuID2lumi, addNuId2lumi,                                                            
bgAdjust, detectOutlier, detectionCall, estimateLumiCV, getChipInfo, getControlData, getControlProbe,
getControlType, getNuIDMappingInfo, id2seq, inverseVST, is.nuID, lumiB, lumiExpresso, lumiN, lumiQ,                       
lumiR, lumiR.batch, lumiT, nuID2EntrezID, nuID2IlluminaID, nuID2RefSeqID, nuID2probeID, nuID2targetID,
plotCDF, plotControlData, plotDensity, plotHousekeepingGene, plotSampleRelation, plotStringencyGene, plotVST, probeID2nuID,
produceGEOPlatformFile, produceGEOSampleInfoTemplate, produceGEOSubmissionFile, rsn, seq2id, ssn, targetID2nuID, vst, rankinvariant,
# methylation analysis functions
adjColorBias.quantile, adjColorBias.ssn, addColorChannelInfo, beta2m, bgAdjustMethylation, boxplotColorBias, colorBiasSummary, estimateBeta, estimateM,
estimateIntensity, estimateMethylationBG, lumiMethyB, lumiMethyC, lumiMethyN, lumiMethyR, m2beta, normalizeMethylation.quantile, 
normalizeMethylation.ssn, plotColorBias2D, plotColorBias1D, smoothQuantileNormalization 
)


