### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Imports
import(S4Vectors)
import(Biobase)
import(NanoStringNCTools)
importClassesFrom(S4Vectors, DataFrame)
importClassesFrom(NanoStringNCTools, SignatureSet)
importFrom(rjson, fromJSON)
importFrom(readxl, read_xlsx)
importFrom(EnvStats, geoMean)
importFrom(reshape2, dcast)
importFrom(utils, read.csv)
importFrom(stats, as.formula)
importFrom(stats, quantile)
importFrom(stats, anova)
importFrom(stats, formula)
importFrom(stats, p.adjust)
importFrom(methods, callGeneric)
importFrom(methods, callNextMethod)
importFrom(methods, is)
importFrom(methods, validObject)
importFrom(dplyr, bind_rows)
importFrom(utils, write.table)
importFrom(outliers, grubbs.test)
importFrom(data.table, data.table, .SD)
importFrom(lmerTest, lmer)
importFrom(lmerTest, ls_means)
importFrom(parallel, mclapply)
importFrom(parallel, parLapply)
importFrom(parallel, makeCluster)
importFrom(parallel, stopCluster)
importFrom(BiocGenerics, design)
importFrom(BiocGenerics, "design<-")

### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 classes

exportClasses(NanoStringGeoMxSet)

### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 generics

export(NanoStringGeoMxSet, sData, svarLabels, dimLabels, "dimLabels<-",
       featureType, "featureType<-",
       signatures, "signatures<-", signatureScores,
       design, "design<-", signatureGroups,
       checkQCFlags)

### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 methods

exportMethods(NanoStringGeoMxSet, show,
              sData, svarLabels, dimLabels, "dimLabels<-",
              featureType, "featureType<-",
              signatures, "signatures<-", signatureScores,
              design, "design<-", signatureGroups,
              checkQCFlags, normalize)


### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export non-generic functions

export(readNanoStringGeoMxSet,
       readDccFile,
       readPKCFile,
       writeNanoStringGeoMxSet)
export(aggregateCounts)
export(checkQCFlags)
export(countsShiftedByOne)
export(logtBase)
export(ngeoMean)
export(ngeoSD)
export(setSegmentQCFlags)
export(setBackgroundQCFlags)
export(setBioProbeQCFlags)
export(setGeoMxQCFlags)
export(setSeqQCFlags)
export(shiftCountsOne)
export(summarizeNegatives)
export(mixedModelDE)

### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S3 methods



