useDynLib(casper)

import(Biobase, EBarrays, IRanges, graphics, GenomicRanges, methods)
importFrom(BiocGenerics, strand, "strand<-")
importFrom(gaga, fitNNSingleHyp, getpar)
importFrom(GenomicFeatures, transcripts, exonsBy, makeTranscriptDb)
importClassesFrom(GenomicFeatures, TranscriptDb)
importFrom(gtools, rdirichlet)
importFrom(mgcv,gam,predict.gam,s)
importMethodsFrom(Rsamtools, scanBam, scanBamHeader, ScanBamParam)
importFrom(Rsamtools, scanBamFlag)
importFrom(rtracklayer, import)
importFrom(sqldf, sqldf)
importFrom(survival,Surv,survfit)
importMethodsFrom(VGAM, Coef, model.matrix, predict)
importFrom(VGAM,vglm,betabinomial.ab)

#export regular functions
export(calcDenovo, calcExp, createDenovoGenome, denovoExpr, getDistrs, getIsland, genePlot, getRoc, mergeBatches, mergeExp, modelPrior, pathCounts, plotPriorAS, posprob, probNonEquiv, procBam, procGenome, quantileNorm, relativeExpr, rmShortInserts, simMultSamples, simReads, transcripts, variants, "variants<-", getReads, getNreads, getChr, getIsland, subsetGenome, txLength, wrapKnown, relexprByGene)

exportClasses(annotatedGenome, simulatedSamples, pathCounts, procBam)
#export general methods
exportMethods("plot","lines","coef","[","[[","as.list")




