{
  "_id": "6ab231043d719c1f8408a128",
  "Package": "MDDC",
  "Type": "Package",
  "Title": "Modified Detecting Deviating Cells Algorithm in\nPharmacovigilance",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(given = \"Anran\", family = \"Liu\", role = c(\"aut\", \"cre\"),\nemail = \"anranliu@buffalo.edu\",\ncomment = c(ORCID = \"0000-0002-4504-9786\")),\nperson(given = \"Raktim\", family = \"Mukhopadhyay\",\nrole = c(\"aut\"), email = \"raktimmu@buffalo.edu\",\ncomment = c(ORCID = \"0009-0007-8972-6682\")),\nperson(given = \"Marianthi\", family = \"Markatou\",\nrole = c(\"aut\"), email = \"markatou@buffalo.edu\",\ncomment = c(ORCID = \"0000-0002-1453-8229\"))\n)",
  "Maintainer": "Anran Liu <anranliu@buffalo.edu>",
  "Description": "Methods for detecting signals related to (adverse event,\nmedical product e.g. drugs, vaccines) pairs, a data generation\nfunction for simulating pharmacovigilance datasets, and various\nutility functions. For more details please see Liu A.,\nMukhopadhyay R., and Markatou M.\n<doi:10.48550/arXiv.2410.01168>.",
  "URL": "https://github.com/niuniular/MDDC",
  "BugReports": "https://github.com/niuniular/MDDC/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Repository": "https://niuniular.r-universe.dev",
  "Date/Publication": "2025-04-07 16:27:33 UTC",
  "RemoteUrl": "https://github.com/niuniular/mddc",
  "RemoteRef": "HEAD",
  "RemoteSha": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-22 07:32:46 UTC",
    "User": "root"
  },
  "Author": "Anran Liu [aut, cre] (ORCID: <https://orcid.org/0000-0002-4504-9786>),\nRaktim Mukhopadhyay [aut] (ORCID:\n<https://orcid.org/0009-0007-8972-6682>),\nMarianthi Markatou [aut] (ORCID:\n<https://orcid.org/0000-0002-1453-8229>)",
  "_user": "niuniular",
  "_type": "src",
  "_file": "MDDC_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6f11d2bbdd7bdc02acc3786977f714f1965e563c0d7586e24b52dc804aac9216",
  "_filesize": 513341,
  "_sha256": "6f11d2bbdd7bdc02acc3786977f714f1965e563c0d7586e24b52dc804aac9216",
  "_expires": "2026-12-31T07:40:51.000Z",
  "_created": "2026-09-22T07:32:46.000Z",
  "_published": "2026-09-22T07:40:52.855Z",
  "_jobs": [
    {
      "job": 106656050821,
      "time": 134,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10682341615"
    },
    {
      "job": 106656050786,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10682835841"
    },
    {
      "job": 106656050900,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682241707"
    },
    {
      "job": 106656050858,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10681791690"
    },
    {
      "job": 106656050906,
      "time": 210,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10682236899"
    },
    {
      "job": 106656050907,
      "time": 428,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10682771688"
    },
    {
      "job": 106656050983,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682786101"
    },
    {
      "job": 106656050904,
      "time": 313,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682016563"
    },
    {
      "job": 106655025795,
      "time": 220,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10681736435"
    },
    {
      "job": 106656050905,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10682006235"
    },
    {
      "job": 106656050914,
      "time": 391,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10682051614"
    },
    {
      "job": 106656050968,
      "time": 179,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10682840936"
    },
    {
      "job": 106656050931,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10682716110"
    },
    {
      "job": 106656050880,
      "time": 379,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682142545"
    },
    {
      "job": 106656050885,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682815928"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131",
  "_status": "success",
  "_upstream": "https://github.com/niuniular/mddc",
  "_commit": {
    "id": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
    "author": "Raktim Mukhopadhyay <rmj.3197@gmail.com>",
    "committer": "Raktim Mukhopadhyay <rmj.3197@gmail.com>",
    "message": "updated man\n",
    "time": 1744043253
  },
  "_maintainer": {
    "name": "Anran Liu",
    "email": "anranliu@buffalo.edu",
    "orcid": "0000-0002-4504-9786"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "niuniular",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "pharmacovigilance",
    "cpp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "rmj3197",
      "count": 131,
      "uuid": 54344732
    }
  ],
  "_userbio": {
    "uuid": 75549823,
    "type": "user",
    "name": "Anran Liu",
    "followers": 3
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MDDC"
  },
  "_devurl": "https://github.com/niuniular/mddc",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MDDC.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/niuniular/mddc",
  "_realowner": "niuniular",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-10-04"
    },
    {
      "version": "1.1.0",
      "date": "2025-04-07"
    }
  ],
  "_exports": [
    "check_and_fix_contin_table",
    "find_optimal_coef",
    "generate_contin_table_with_clustered_AE",
    "generate_contin_table_with_clustered_AE_with_tol",
    "get_expected_counts",
    "get_std_pearson_res",
    "mddc_boxplot",
    "mddc_mc",
    "plot_heatmap",
    "report_drug_AE_pairs"
  ],
  "_datasets": [
    {
      "name": "betablocker500",
      "title": "FDA dataset for beta blockers with 500 adverse events",
      "object": "betablocker500",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Acebutolol",
        "Atenolol",
        "Bisoprolol",
        "Carvedilol",
        "Metoprolol",
        "Nadolol",
        "Propranolol",
        "Timolol",
        "Other"
      ],
      "rows": 501,
      "table": true,
      "tojson": true
    },
    {
      "name": "sedative1000",
      "title": "FDA dataset for sedatives with 1000 adverse events",
      "object": "sedative1000",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Clonazepam",
        "Dexmedetomidine",
        "Diazepam",
        "Diphenhydramine",
        "Doxepin",
        "Lorazepam",
        "Midazolam",
        "Mirtazapine",
        "Nitrazepam",
        "Temazepam",
        "Other"
      ],
      "rows": 1001,
      "table": true,
      "tojson": true
    },
    {
      "name": "statin101",
      "title": "FDA statin dataset with 101 adverse events",
      "object": "statin101",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Atorvastatin",
        "Fluvastatin",
        "Rosuvastatin",
        "Simvastatin",
        "Other"
      ],
      "rows": 102,
      "table": true,
      "tojson": true
    },
    {
      "name": "statin49",
      "title": "FDA statin dataset with 49 adverse events",
      "object": "statin49",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Atorvastatin",
        "Fluvastatin",
        "Lovastatin",
        "Pravastatin",
        "Rosuvastatin",
        "Simvastatin",
        "Other"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "statin49_AE_idx",
      "title": "Cluster index of the FDA statin dataset with 49 adverse events",
      "object": "statin49_AE_idx",
      "class": [
        "data.frame"
      ],
      "fields": [
        "idx",
        "AE"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MDDC-package",
      "title": "Modified Detecting Deviating Cells Algorithm in Pharmacovigilance",
      "topics": [
        "MDDC-package",
        "MDDC"
      ]
    },
    {
      "page": "betablocker500",
      "title": "FDA dataset for beta blockers with 500 adverse events",
      "topics": [
        "betablocker500"
      ]
    },
    {
      "page": "check_and_fix_contin_table",
      "title": "Verifying and correcting the input I by J contingency table",
      "topics": [
        "check_and_fix_contin_table"
      ]
    },
    {
      "page": "find_optimal_coef",
      "title": "Find Adaptive Boxplot Coefficient `coef` via Grid Search",
      "topics": [
        "find_optimal_coef"
      ]
    },
    {
      "page": "generate_contin_table_with_clustered_AE",
      "title": "Generate simulated contingency tables with the option of incorporating adverse event correlation within clusters.",
      "topics": [
        "generate_contin_table_with_clustered_AE"
      ]
    },
    {
      "page": "generate_contin_table_with_clustered_AE_with_tol",
      "title": "Generate simulated contingency tables with the option of incorporating adverse event correlation within clusters and tolerance for total report count.",
      "topics": [
        "generate_contin_table_with_clustered_AE_with_tol"
      ]
    },
    {
      "page": "get_expected_counts",
      "title": "Compute the Expected Count Matrix from a Contingency Table",
      "topics": [
        "get_expected_counts"
      ]
    },
    {
      "page": "get_std_pearson_res",
      "title": "Computing the standardized Pearson residuals for a given I \\times J contingency table",
      "topics": [
        "get_std_pearson_res"
      ]
    },
    {
      "page": "mddc_boxplot",
      "title": "Modified Detecting Deviating Cells (MDDC) algorithm for adverse event signal identification with boxplot method for cutoff selection.",
      "topics": [
        "mddc_boxplot"
      ]
    },
    {
      "page": "mddc_mc",
      "title": "Modified Detecting Deviating Cells (MDDC) algorithm for adverse event signal identification with Monte Carlo (MC) method for cutoff selection.",
      "topics": [
        "mddc_mc"
      ]
    },
    {
      "page": "plot_heatmap",
      "title": "Plot Heatmap",
      "topics": [
        "plot_heatmap"
      ]
    },
    {
      "page": "report_drug_AE_pairs",
      "title": "Report the potential adverse events for drugs from contingency table",
      "topics": [
        "report_drug_AE_pairs"
      ]
    },
    {
      "page": "sedative1000",
      "title": "FDA dataset for sedatives with 1000 adverse events",
      "topics": [
        "sedative1000"
      ]
    },
    {
      "page": "statin101",
      "title": "FDA statin dataset with 101 adverse events",
      "topics": [
        "statin101"
      ]
    },
    {
      "page": "statin49",
      "title": "FDA statin dataset with 49 adverse events",
      "topics": [
        "statin49"
      ]
    },
    {
      "page": "statin49_AE_idx",
      "title": "Cluster index of the FDA statin dataset with 49 adverse events",
      "topics": [
        "statin49_AE_idx"
      ]
    }
  ],
  "_readme": "https://github.com/niuniular/mddc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "doParallel",
    "farver",
    "foreach",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "MASS",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_MDDC.Rmd",
      "filename": "Introduction_to_MDDC.html",
      "title": "Usage Examples for MDDC in R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Dataset",
        "Adverse Event (AE) Identification with MDDC",
        "Using Boxplot Method",
        "Function for Finding Optimal Boxplot Coefficient",
        "Using the Monte Carlo Method",
        "Function for Reporting",
        "Simulating datasets with grouped AEs",
        "Visualization"
      ],
      "created": "2024-08-20 22:08:48",
      "modified": "2025-04-05 06:18:57",
      "commits": 15
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "mddc",
  "_universes": [
    "niuniular"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-22T07:34:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/7ff24ee862ce23cb80bf70bf3a60bf34c9f24c37d59d2fe0f4b817a8f6dd5975",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-22T07:35:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/c77ce3f57c40c9ecac3193d8a5dbb275732b7cee1aee2b3ddf09c0ed504a16da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-22T07:34:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/5a3314909bf7692b5ce4341a488daf5c78006305a4205c0fd0d6d3d551fd70a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-22T07:35:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/9bc782ec89133afaed33c3d4563b97d26f9c2e090b8887a1b090755c3bf123b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-22T07:35:21.000Z",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/77ded31bff430143532a32c9cf9461330b241865e7d08c304f11f0f2c9f315be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-22T07:37:52.000Z",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/6aaa305373187b624597f99cff300d9ade0c021374823aa901ff27660726a2af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-22T07:35:18.000Z",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/b60b2e72677c17ce63ff2d897e469fa8cd36a72047856e6c8be653c9f1c12863",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-22T07:36:33.000Z",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/1d3ccee8abf82cd2e31a30de155c775654edac141ef0486242ef33bbb27ed150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-09-22T07:35:01.000Z",
      "arch": "emscripten",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/6ba292839ec406e6256e858473970611e7115f14106704f7fe92d83ef77c66e6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-22T07:38:09.000Z",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/96403d56fe08281bc7326c736aeea6ca307f1b293643e01a9b5e4773c6c69bfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-22T07:34:07.000Z",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/d13fb91e9eac4035637e88485f3be29c67cabbec55d847f3414cc539638b1cc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-22T07:34:13.000Z",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/85da034676eeee7875789b065e6106fa8de1c1ee90c5a7621b2f1346d2cb6c98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-22T07:37:49.000Z",
      "arch": "aarch64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/fafce9b2b8d359c3b2c341f6ba84984dfda6243e7c3842d1de5df2de792f1b6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-22T07:34:00.000Z",
      "arch": "x86_64",
      "commit": "1b7975d68407ae2211a877355d1638b2d8a8dd15",
      "fileid": "https://r2.ropensci.org/b109346fe8ee73b09ce2f323b86de09306b144c3ca466dbef4f399dafa1f541a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niuniular/actions/runs/35699827131"
    }
  ]
}