export(PeakDetection)
export(build_X_from_peaks_fast)
export(build_XY_from_peaks)
export(PredictLogReg)
export(PredictFastClass)
export(SelectionVar)
export(SelectionVarStat)
export(PlotSpectra)
export(fast_mda)
export(fast_cvpvi)
export(LogReg)
export(LogReg_rf_fast)
export(SignalProcessing)
export(smote_classif)
importFrom("MALDIquant",
           "calibrateIntensity",
           "transformIntensity",
           "alignSpectra",
           "removeEmptyMassObjects",
           "averageMassSpectra",
           "detectPeaks",
           "determineWarpingFunctions",
           "warpMassPeaks",
           "match.closest",
           "intensityMatrix",
           "createMassPeaks")
importFrom("MALDIrppa", "wavSmoothing")
importFrom("stats",
           "aggregate",
           "predict",
           "sd",
           "lm",
           "AIC",
           "pf",
           "kruskal.test",
           "na.omit",
           "model.matrix",
           "ecdf",
           "quantile",
	         "setNames",
           "runif")
importFrom("ggplot2",
           "ggplot",
           "aes",
           "geom_boxplot",
           "facet_wrap",
           "theme_bw",
           "xlab")
importFrom("caret",
           "createDataPartition",
           "confusionMatrix",
           "trainControl",
           "train",
           "rfe",
           "rfeControl",
           "rfFuncs",
           "upSample",
           "downSample")
importFrom("reshape2","melt")
importFrom("dplyr","inner_join")
importFrom("car","linearHypothesis")
importFrom("limma","eBayes","contrasts.fit")
importFrom("cp4p","adjust.p","estim.pi0")
import("statmod")
importFrom("Rcpp","evalCpp")
importFrom("Matrix","Matrix","sparseMatrix")
importFrom("methods","as")
useDynLib(MSclassifR, .registration = TRUE)
