importFrom("grDevices", "dev.off", "pdf", "rgb", "col2rgb")
importFrom("graphics", "abline", "axis", "layout", "lines", "par", "plot", "points", "segments", "text", "title", "image", "pairs")
export("cluster_performance", "mcdc", "mch", "mddc", "mdh", "ncutdc", "ncuth", "success_ratio", "tree_prune", "tree_split", "optidigits_mean_images", "mddr", "mcdr", "ncutdr")

importFrom("stats", "binomial", "glm", "model.frame", "model.matrix",
"na.omit", "na.pass", "pchisq", "poisson", "var")

export(AddAdjList, AddParSetting, AddTSNE, AddUMAP, Add_embed, model_set)
plot_RGB, plot_scatter, volinPlot, boxPlot, doHeatmap, featurePlot, ridgePlot)
importFrom(DR.SC,getAdj_auto, getAdj_manual, getAdj, RunWPCA, read10XVisium)
# export(getAdj, getAdj_manual, getAdj_auto, RunWPCA, read10XVisium)
"Idents<-", Idents, DefaultAssay, "DefaultAssay<-", FetchData,

plot_RGB, plot_scatter, volinPlot, boxPlot, doHeatmap, featurePlot)
"Idents<-", Idents, DefaultAssay, "DefaultAssay<-", ScaleData)

importFrom(Seurat, CreateDimReducObject, NormalizeData, CreateSeuratObject, FindVariableFeatures,

import("parallel", "survival", "Hmisc", "glmnet", "MASS")

# Refer to all C routines by their name prefixed by C_
useDynLib("PRIMsrc", .registration=TRUE, .fixes = "C_")

export(prismaHclust, prismaDuplicatePCA, prismaNMF, loadPrismaData, getDuplicateData, estimateDimension, plot.prisma, print.prisma, plot.prismaDimension, print.prismaDimension, plot.prismaMF)
import(Matrix, gplots, ggplot2)

export(prismaHclust, prismaDuplicatePCA, prismaNMF, loadPrismaData, getDuplicateData, corpusToPrisma, estimateDimension, plot.prisma, print.prisma, plot.prismaDimension, print.prismaDimension, plot.prismaMF, getMatrixFactorizationLabels)
import(Matrix, gplots, ggplot2)

export(prismaHclust, prismaDuplicatePCA, prismaNMF, loadPrismaData, getDuplicateData, corpusToPrisma, estimateDimension, plot.prisma, print.prisma, plot.prismaDimension, print.prismaDimension, plot.prismaMF, getMatrixFactorizationLabels)
import(Matrix, gplots, ggplot2)

export(prismaHclust, prismaDuplicatePCA, prismaNMF, loadPrismaData, getDuplicateData, corpusToPrisma, estimateDimension, plot.prisma, print.prisma, plot.prismaDimension, print.prismaDimension, plot.prismaMF, getMatrixFactorizationLabels)
import(Matrix, gplots, ggplot2)