useDynLib(biclust, .registration=TRUE)

import(methods)

importFrom(colorspace, diverge_hcl)
importFrom(grid, grid.lines, unit, gpar,grid.newpage,pushViewport,viewport,grid.text,grid.segments,grid.points,grid.rect)
importFrom(MASS, sammon, isoMDS, Shepard)
importFrom(lattice, barchart,panel.barchart)
importFrom(flexclust,as.kcca)

importFrom("grDevices", "gray", "rgb")
importFrom("graphics", "axis", "barplot", "hist", "image", "lines",
             "matplot", "par", "plot", "plot.new", "rect", "text",
             "title")
importFrom("stats", "anova", "aov", "as.dist", "as.formula",
             "cmdscale", "cor", "cutree", "density", "dist", "hclust",
             "kmeans", "median", "pf", "qnorm", "quantile", "runif",
             "sd", "terms")
importFrom("utils", "flush.console")

import(ggplot2)
importFrom(additivityTests,mandel.test)
importFrom(additivityTests,tukey.test)
importFrom(tidyr,gather)

importFrom("stats","qf","rnorm")

export(	drawHeatmap,
	drawHeatmap2,
	bubbleplot,
	parallelCoordinates,
	BiclustResult,
	binarize,
	binarizeByPercentage,
	densityOnes,
	discretize,
	jaccardind,
	constantVariance,
	additiveVariance,
	multiplicativeVariance,
	signVariance,
	writeBiclusterResults,
	BCBimax,
	BCrepBimax,
	BCCC,
	BCXmotifs,
	BCSpectral,
	BCPlaid,
	BCQuest,
	BCQuestord,
	BCQuestmet,
	clustmember,
	biclustmember,
	plotclust,
	writeclust,
	bicorder,
	predictBimax,
	isoverlapp,
        ensemble,
       jaccard2,
       plaid.grid,
       bimax.grid,
 #      xmotif.grid,
 #      spectral.grid,
 #      cc.grid,
       bicluster,
       biclusternumber,
       ChiaKaruturi,
       computeObservedFstat,
       diagnoseColRow,
       diagnosticPlot,
       biclustbarchart,
       heatmapBC
	)

export(diagnosticPlot2)
export(diagnosticTest)

exportClasses(
		BiclustMethod,
		Biclust,
		BCBimax,
		BCCC,
		BCXmotifs,
		BCSpectral,
		BCPlaid
		)

exportMethods(
		biclust,
		show,
		summary
		)



