useDynLib(CAMERA)

import("methods")
import("xcms")
import("igraph")

importFrom("RBGL", "highlyConnSG")
importFrom("graph", "ftM2graphNEL")
importFrom("Hmisc", "rcorr")
importMethodsFrom("graph", "addNode", "nodes")
importFrom("graphics", "legend", "plot", "points", "strheight", "text")
importFrom("grDevices", "rgb")
importFrom("stats", "cor.test")
importFrom("utils", "flush.console", "object.size", "read.table")


importClassesFrom(Biobase, "Versioned")
importFrom(Biobase, validMsg)

export("annotate","xsAnnotate","getpspectra","annotateDiffreport","getIsotopeCluster","findNeutralLossSpecs","findNeutralLoss","cleanParallel","combinexsAnnos")
exportClasses("xsAnnotate")
exportMethods("groupFWHM")
exportMethods("findIsotopes")
exportMethods("groupCorr")
exportMethods("findAdducts")
exportMethods("show")
exportMethods("plotEICs")
exportMethods("plotPsSpectrum")
exportMethods("getPeaklist")
exportMethods("getAllPeakEICs")
exportMethods("calcPC",
	      "calcPC.lpc",
	      "calcPC.hcs")
exportMethods("calcCiS",
	      "calcCaS",
	      "calcIsotopes")

exportClasses("ruleSet")
exportMethods("setDefaultLists",
              "readLists",
              "setDefaultParams",
              "setParams",
              "generateRules")
