useDynLib(bnbc, .registration=TRUE)
importFrom(Rcpp, evalCpp)

import(methods)
import(SummarizedExperiment)
import(GenomicRanges)
import(IRanges)
import(S4Vectors)
importMethodsFrom(Seqinfo, genome, seqlengths, seqlevels)
importFrom(utils, txtProgressBar, setTxtProgressBar, write.table)

importFrom(BiocGenerics, rownames, cbind)
importFrom(sva, ComBat)
importFrom(preprocessCore, normalize.quantiles)
importFrom(parallel, mclapply)
importFrom(matrixStats, rowVars)
importFrom(EBImage, gblur, makeBrush, filter2)

importFrom(rhdf5, H5Fopen, H5Fclose, h5read, h5closeAll)
importFrom(data.table, data.table, setkey)

## importMethodsFrom(Matrix, mean, rowMeans, t, triu, which)






export(bnbc)

exportClasses(ContactGroup)
exportMethods("rowData", "rowData<-", "colData", "colData<-", "dim", "show", "[")
export(ContactGroup, contacts, "contacts<-")

export(librarySize)
export(logCPM)
export(boxSmoother)
export(gaussSmoother)

export(getBandMatrix)
export(getGroupZeros)
export(dropGroupZeros)
export(cgBandApply)
export(cgApply)
export(distanceIdx)
export(getBandIdx)
export("band<-")
export(band)
export(getChrIdx)
export(getChrCGFromCools)
export(cg2bedgraph2)
