##
## imports
##
import("methods")

importMethodsFrom("DBI", "dbConnect", "dbDisconnect", "dbDriver",
                  "dbGetQuery", "dbListTables", "dbWriteTable")

importFrom("graphics", "abline", "legend", "matplot", "par", "plot",
           "segments")

importFrom("stats", "convolve", "dnbinom", "dpois", "na.omit",
           "pchisq", "pnorm", "quantile", "rbinom", "rchisq",
           "rnbinom", "rpois", "runif")

importFrom("utils", "head", "read.table")
import("BiocGenerics")
import("IRanges")

##
## export anything w/out a . in front. 
##
## exportPattern("^[^\\.]")
exportClass("ExpData")
exportMethods("initialize", "show", "head", "$", "[")
export("ExpData", "aggregateExpData", "applyMapped", "collapseExpData",
       "computeCoverage", "getRegion", "importFromAlignedReads",
       "importToExpData", "joinExpData", "mergeWithAnnotation",
       "makeGeneRepresentation", "validAnnotation",
       "computePrimingWeights", "addPrimingWeights",
       "plot.genominator.coverage",
       "plot.genominator.goodness.of.fit", "regionGoodnessOfFit",
       "splitByAnnotation","summarizeByAnnotation","summarizeExpData",
       "getColnames", "getMode", "getDBConnection", "getDBFilename", "getTablename",
       "getSchema", "listTables", "getIndexColumns")
