{
  "_id": "6b06ac9c75ab5e50c767e153",
  "Package": "CDI",
  "Version": "1.12.0",
  "Date": "2026-03-15",
  "Title": "Clustering Deviation Index (CDI)",
  "Description": "Single-cell RNA-sequencing (scRNA-seq) is widely used to\nexplore cellular variation. The analysis of scRNA-seq data\noften starts from clustering cells into subpopulations. This\ninitial step has a high impact on downstream analyses, and\nhence it is important to be accurate. However, there have not\nbeen unsupervised metric designed for scRNA-seq to evaluate\nclustering performance. Hence, we propose clustering deviation\nindex (CDI), an unsupervised metric based on the modeling of\nscRNA-seq UMI counts to evaluate clustering of cells.",
  "Authors@R": "c(person(\"Jiyuan\", \"Fang\", email = \"jfanglovestats@gmail.com\", role = c(\"cre\", \"aut\"), comment=c(ORCID=\"0000-0002-5004-4138\")), \nperson(\"Jichun\", \"Xie\", email = \"jichun.xie@duke.edu\", role = c(\"ctb\")),\nperson(\"Cliburn\", \"Chan\", email = \"cliburn.chan@duke.edu\", role = c(\"ctb\")),\nperson(\"Kouros\", \"Owzar\", email = \"kouros.owzar@duke.edu\", role = c(\"ctb\")),\nperson(\"Liuyang\", \"Wang\", email = \"liuyang.wang@duke.edu\", role = c(\"ctb\")),\nperson(\"Diyuan\", \"Qin\", email = \"diyuan.qin@duke.edu\", role = c(\"ctb\")),\nperson(\"Qi-Jing\", \"Li\", email = \"qi-jing.li@duke.edu\", role = c(\"ctb\")))",
  "biocViews": "SingleCell, Software, Clustering, Visualization, Sequencing,\nRNASeq, CellBasedAssays",
  "URL": "https://github.com/jichunxie/CDI",
  "BugReports": "https://github.com/jichunxie/CDI/issues",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "License": "GPL-3 + file LICENSE",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libglpk-dev make libicu-dev libpng-dev libxml2-dev\nlibssl-dev zlib1g-dev",
  "Repository": "Bioconductor 3.24",
  "Date/Publication": "2026-11-23 22:50:58 UTC",
  "RemoteUrl": "https://github.com/bioc/CDI",
  "RemoteRef": "RELEASE_3_24",
  "RemoteSha": "a249415ba009418363aa1e4ba10d914085b5d950",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-25 05:00:00 UTC",
    "User": "root"
  },
  "Author": "Jiyuan Fang [cre, aut] (ORCID: <https://orcid.org/0000-0002-5004-4138>),\nJichun Xie [ctb],\nCliburn Chan [ctb],\nKouros Owzar [ctb],\nLiuyang Wang [ctb],\nDiyuan Qin [ctb],\nQi-Jing Li [ctb]",
  "Maintainer": "Jiyuan Fang <jfanglovestats@gmail.com>",
  "_user": "bioc-release",
  "_type": "src",
  "_file": "CDI_1.12.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c3d21fadfe6c3b3e462f9abf5f47eb4aa8885b7910ad0ec420ce1ba9f940b6f2",
  "_filesize": 1981345,
  "_sha256": "c3d21fadfe6c3b3e462f9abf5f47eb4aa8885b7910ad0ec420ce1ba9f940b6f2",
  "_expires": "2027-03-05T09:38:34.000Z",
  "_created": "2026-11-25T05:00:00.000Z",
  "_published": "2026-11-25T09:38:36.119Z",
  "_upstream": "https://github.com/bioc/CDI",
  "_status": "success",
  "_maintainer": {
    "name": "Jiyuan Fang",
    "email": "jfanglovestats@gmail.com",
    "login": "jfanglovestats",
    "description": "",
    "uuid": 20197039,
    "orcid": "0000-0002-5004-4138"
  },
  "_jobs": [
    {
      "job": 138990682930,
      "time": 197,
      "config": "bioc-checks",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14994670333"
    },
    {
      "job": 138990683000,
      "time": 452,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14994022086"
    },
    {
      "job": 138990683076,
      "time": 456,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14994466507"
    },
    {
      "job": 138990683067,
      "time": 248,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15009710665"
    },
    {
      "job": 138990682950,
      "time": 223,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15009975065"
    },
    {
      "job": 138986785216,
      "time": 534,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14992114929"
    },
    {
      "job": 138990683028,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14994710115"
    },
    {
      "job": 138990682944,
      "time": 248,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14993771625"
    },
    {
      "job": 138990682982,
      "time": 327,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14993612677"
    },
    {
      "job": 138990683027,
      "time": 297,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14994246503"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 7
  },
  "_buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783",
  "_commit": {
    "id": "a249415ba009418363aa1e4ba10d914085b5d950",
    "author": "A Wokaty <jwokaty@users.noreply.github.com>",
    "committer": "A Wokaty <jwokaty@users.noreply.github.com>",
    "message": "bump x.y.z version to even y prior to creation of RELEASE_3_24 branch\n",
    "time": 1795474258
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "SeuratObject",
      "role": "Imports"
    },
    {
      "package": "Seurat",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "BiocParallel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ggsci",
      "role": "Imports"
    },
    {
      "package": "SingleCellExperiment",
      "role": "Imports"
    },
    {
      "package": "SummarizedExperiment",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RUnit",
      "role": "Suggests"
    },
    {
      "package": "BiocGenerics",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    }
  ],
  "_owner": "bioc",
  "_selfowned": false,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-48",
      "n": 1
    }
  ],
  "_tags": [],
  "_bioc": [
    {
      "branch": "devel",
      "version": "1.12.0",
      "bioc": "3.24",
      "repository": "bioc",
      "r": "4.6.0"
    },
    {
      "branch": "release",
      "version": "1.10.0",
      "bioc": "3.23",
      "repository": "bioc",
      "r": "4.6.0"
    }
  ],
  "_topics": [
    "singlecell",
    "software",
    "clustering",
    "visualization",
    "sequencing",
    "rnaseq",
    "cellbasedassays"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "jfanglovestats",
      "count": 21,
      "uuid": 20197039
    },
    {
      "user": "jwokaty",
      "count": 2,
      "uuid": 1744257
    },
    {
      "user": "jichunxie",
      "count": 1,
      "uuid": 11475543
    }
  ],
  "_userbio": {
    "uuid": 2286807,
    "type": "organization",
    "name": "Bioconductor",
    "followers": 487,
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_downloads": {
    "count": 462,
    "source": "https://www.bioconductor.org/packages/stats/bioc/CDI"
  },
  "_devurl": "https://github.com/jichunxie/cdi",
  "_searchresults": 6,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/CDI.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/jichunxie/cdi",
  "_realowner": "bioc",
  "_cranurl": false,
  "_authors": [
    {
      "name": "Jiyuan Fang",
      "email": "jfanglovestats@gmail.com",
      "orcid": "0000-0002-5004-4138",
      "role": [
        "cre",
        "aut"
      ]
    },
    {
      "name": "Jichun Xie",
      "email": "jichun.xie@duke.edu",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Cliburn Chan",
      "email": "cliburn.chan@duke.edu",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Kouros Owzar",
      "email": "kouros.owzar@duke.edu",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Liuyang Wang",
      "email": "liuyang.wang@duke.edu",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Diyuan Qin",
      "email": "diyuan.qin@duke.edu",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Qi-Jing Li",
      "email": "qi-jing.li@duke.edu",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "calculate_CDI",
    "CDI_lineplot",
    "contingency_heatmap",
    "feature_gene_selection",
    "size_factor"
  ],
  "_datasets": [
    {
      "name": "one_batch_matrix",
      "title": "Simulated count matrix from one batch",
      "object": "one_batch_matrix",
      "file": "one_batch_matrix.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3000,
      "table": true,
      "tojson": true
    },
    {
      "name": "one_batch_matrix_celltype",
      "title": "Cell type labels of simulated count matrix from one batch",
      "object": "one_batch_matrix_celltype",
      "file": "one_batch_matrix_celltype.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "one_batch_matrix_label_df",
      "title": "Clustering labels for simulated one-batch single-cell count matrix",
      "object": "one_batch_matrix_label_df",
      "file": "one_batch_matrix_label_df.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "KMeans_k2",
        "KMeans_k3",
        "KMeans_k4",
        "KMeans_k5",
        "KMeans_k6",
        "KMeans_k7",
        "Seurat_k2",
        "Seurat_k3",
        "Seurat_k4",
        "Seurat_k5",
        "Seurat_k6",
        "Seurat_k7"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "two_batch_matrix",
      "title": "Simulated count matrix from two batches",
      "object": "two_batch_matrix",
      "file": "two_batch_matrix.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3000,
      "table": true,
      "tojson": true
    },
    {
      "name": "two_batch_matrix_batch",
      "title": "Batch labels of simulated count matrix from two batches",
      "object": "two_batch_matrix_batch",
      "file": "two_batch_matrix_batch.RData",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "two_batch_matrix_celltype",
      "title": "Cell type labels of simulated count matrix from two batches",
      "object": "two_batch_matrix_celltype",
      "file": "two_batch_matrix_celltype.RData",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "two_batch_matrix_label_df",
      "title": "Clustering labels for simulated two-batch single-cell count matrix",
      "object": "two_batch_matrix_label_df",
      "file": "two_batch_matrix_label_df.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "KMeans_k3",
        "KMeans_k4",
        "KMeans_k5",
        "KMeans_k6",
        "KMeans_k7",
        "KMeans_k8",
        "KMeans_k9",
        "KMeans_k10",
        "KMeans_k11",
        "KMeans_k12",
        "KMeans_k13",
        "KMeans_k14",
        "KMeans_k15",
        "Seurat_k3",
        "Seurat_k4",
        "Seurat_k5",
        "Seurat_k6",
        "Seurat_k7",
        "Seurat_k8",
        "Seurat_k9",
        "Seurat_k10",
        "Seurat_k11",
        "Seurat_k12",
        "Seurat_k13",
        "Seurat_k14",
        "Seurat_k15"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_CDI",
      "title": "Clustering Deviance Index (CDI)",
      "topics": [
        "calculate_CDI"
      ]
    },
    {
      "page": "CDI",
      "title": "Clustering Deviation Index.",
      "topics": [
        "CDI"
      ]
    },
    {
      "page": "CDI_lineplot",
      "title": "Visualize CDI values via a lineplot",
      "topics": [
        "CDI_lineplot"
      ]
    },
    {
      "page": "contingency_heatmap",
      "title": "Heatmap of contingency table",
      "topics": [
        "contingency_heatmap"
      ]
    },
    {
      "page": "feature_gene_selection",
      "title": "Select feature genes",
      "topics": [
        "feature_gene_selection"
      ]
    },
    {
      "page": "one_batch_matrix",
      "title": "Simulated count matrix from one batch",
      "topics": [
        "one_batch_matrix"
      ]
    },
    {
      "page": "one_batch_matrix_celltype",
      "title": "Cell type labels of simulated count matrix from one batch",
      "topics": [
        "one_batch_matrix_celltype"
      ]
    },
    {
      "page": "one_batch_matrix_label_df",
      "title": "Clustering labels for simulated one-batch single-cell count matrix",
      "topics": [
        "one_batch_matrix_label_df"
      ]
    },
    {
      "page": "size_factor",
      "title": "Size factor of each cell",
      "topics": [
        "size_factor"
      ]
    },
    {
      "page": "two_batch_matrix",
      "title": "Simulated count matrix from two batches",
      "topics": [
        "two_batch_matrix"
      ]
    },
    {
      "page": "two_batch_matrix_batch",
      "title": "Batch labels of simulated count matrix from two batches",
      "topics": [
        "two_batch_matrix_batch"
      ]
    },
    {
      "page": "two_batch_matrix_celltype",
      "title": "Cell type labels of simulated count matrix from two batches",
      "topics": [
        "two_batch_matrix_celltype"
      ]
    },
    {
      "page": "two_batch_matrix_label_df",
      "title": "Clustering labels for simulated two-batch single-cell count matrix",
      "topics": [
        "two_batch_matrix_label_df"
      ]
    }
  ],
  "_readme": "https://github.com/bioc/CDI/raw/RELEASE_3_24/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "BH",
    "Biobase",
    "BiocGenerics",
    "BiocParallel",
    "cli",
    "cluster",
    "codetools",
    "cowplot",
    "cpp11",
    "curl",
    "data.table",
    "DelayedArray",
    "dotCall64",
    "dplyr",
    "dqrng",
    "farver",
    "fastDummies",
    "FNN",
    "formatR",
    "futile.logger",
    "futile.options",
    "future",
    "future.apply",
    "generics",
    "GenomicRanges",
    "ggplot2",
    "ggrepel",
    "ggridges",
    "ggsci",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "httr",
    "ica",
    "igraph",
    "IRanges",
    "irlba",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lambda.r",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "mime",
    "openssl",
    "parallelly",
    "patchwork",
    "pbapply",
    "pillar",
    "pkgconfig",
    "pls",
    "plyr",
    "png",
    "progressr",
    "R6",
    "RANN",
    "RColorBrewer",
    "Rcpp",
    "RcppAnnoy",
    "RcppArmadillo",
    "RcppEigen",
    "RcppHNSW",
    "RcppProgress",
    "RcppThread",
    "reshape2",
    "rlang",
    "RSpectra",
    "Rtsne",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "scales",
    "scattermore",
    "sctransform",
    "Seqinfo",
    "Seurat",
    "SeuratObject",
    "SingleCellExperiment",
    "sitmo",
    "snow",
    "sp",
    "spam",
    "SparseArray",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "uwot",
    "vctrs",
    "viridisLite",
    "withr",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "CDI.Rmd",
      "filename": "CDI.html",
      "title": "Clustering Deviation Index (CDI) Tutorial",
      "author": "Jiyuan Fang, Jichun Xie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Load datasets",
        "Select feature genes with feature_gene_selection",
        "calculate_CDI",
        "Select the optimal label set with minimum CDI-AIC/CDI-BIC",
        "Apply CDI to datasets from multiple batches",
        "Inputs:",
        "Data loading",
        "Feature gene selection",
        "Calculate CDI",
        "Session Information"
      ],
      "created": "2021-09-17 20:41:11",
      "modified": "2023-06-01 07:02:54",
      "commits": 10
    }
  ],
  "_score": 6.176091259055681,
  "_indexed": false,
  "_nocasepkg": "cdi",
  "_universes": [
    "bioc-release"
  ],
  "_indexurl": "https://bioc.r-universe.dev/CDI",
  "_previous": "1.10.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.12.0",
      "date": "2026-11-25T05:09:04.000Z",
      "distro": "resolute",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/704a6dfc561d0b349c75f2f461db0cf7d987f42be5ec4c44e019edd5018c07a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.12.0",
      "date": "2026-11-25T05:09:35.000Z",
      "distro": "resolute",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/71f947b506396fba30776dc4290128a947b4873bea713aead2a6430bec6db686",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.12.0",
      "date": "2026-11-25T09:35:44.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/8f61678e0d2936e071ed1198850808f2e493ecd902264e4234fbf07db2c9d974",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.12.0",
      "date": "2026-11-25T09:35:17.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/659e2c8a8590c82420b992abd2f74369610aa6be5558d0a03bfd8506e4f815de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.12.0",
      "date": "2026-11-25T05:07:29.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/83af20c8b7ce71abbe42e69937036591335b24fff50d9fce5525f41dff0e11df",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.12.0",
      "date": "2026-11-25T05:06:18.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/3ee2ee644dc06bef1a8f2620e557695faa65aa5b0f97d8b58b3a6f2265e32eb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.12.0",
      "date": "2026-11-25T05:06:49.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/6c79d6b218a5acb5b7e51c701b07aecaab2dbbc9fa2ccc0fa179993fb2e2d285",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.12.0",
      "date": "2026-11-25T05:06:44.000Z",
      "commit": "a249415ba009418363aa1e4ba10d914085b5d950",
      "fileid": "https://r2.ropensci.org/f9210cfe8a7f09504638b259813e02e43351891ca5039645dd06c8cdcf31cccc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/45548950783"
    }
  ]
}