{
  "_id": "6a1e854e1d7bb097a0a66f53",
  "Package": "libdr",
  "Type": "Package",
  "Title": "Support Functions used by the LIBDR LCMM Analysis",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Nathan\", \"Constantine-Cooke\", , \"nathan.constantine-cooke@ed.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4437-8713\")),\nperson(\"Catalina\", \"Vallejos\", , \"catalina.vallejos@ed.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3638-1960\")))",
  "Description": "This package provides support functions frequently used by\nConstantine et al. for their paper, \"Large-scale clustering of\nlongitudinal faecal calprotectin and C-reactive protein\nprofiles in inflammatory bowel disease\". These functions are\nprimarily used to manipulate data and visualise findings.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev libpng-dev perl",
  "Repository": "https://nathansam.r-universe.dev",
  "Date/Publication": "2025-07-07 16:11:37 UTC",
  "RemoteUrl": "https://github.com/VallejosGroup/Lothian-IBDR",
  "RemoteRef": "HEAD",
  "RemoteSha": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
  "RemoteSubdir": "libdr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 07:21:55 UTC",
    "User": "root"
  },
  "Author": "Nathan Constantine-Cooke [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4437-8713>),\nCatalina Vallejos [aut] (ORCID:\n<https://orcid.org/0000-0003-3638-1960>)",
  "Maintainer": "Nathan Constantine-Cooke <nathan.constantine-cooke@ed.ac.uk>",
  "MD5sum": "968bf8c90ff3a32f424fe86b38ab4be8",
  "_user": "nathansam",
  "_type": "src",
  "_file": "libdr_1.0.1.tar.gz",
  "_fileid": "e3dee761a0104c9c601cb220a600cc10489170695be57074dd9cf4ae6a1af642",
  "_filesize": 114872,
  "_sha256": "e3dee761a0104c9c601cb220a600cc10489170695be57074dd9cf4ae6a1af642",
  "_created": "2026-06-02T07:21:55.000Z",
  "_published": "2026-06-02T07:25:02.439Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79019805359,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7351432787"
    },
    {
      "job": 79019805357,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7351434704"
    },
    {
      "job": 79019805373,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7351416500"
    },
    {
      "job": 79019805344,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7351420908"
    },
    {
      "job": 79019328026,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351389970"
    },
    {
      "job": 79019805377,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351432304"
    },
    {
      "job": 79019805396,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7351418229"
    },
    {
      "job": 79019805389,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7351417546"
    },
    {
      "job": 79019805411,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7351417550"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/VallejosGroup/Lothian-IBDR",
  "_commit": {
    "id": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
    "author": "Nathan Constantine-Cooke <nathan.constantine-cooke@ed.ac.uk>",
    "committer": "Nathan Constantine-Cooke <nathan.constantine-cooke@ed.ac.uk>",
    "message": "Merge branch 'main' of https://github.com/VallejosGroup/IBD-Inflammatory-Patterns\n",
    "time": 1751904697
  },
  "_maintainer": {
    "name": "Nathan Constantine-Cooke",
    "email": "nathan.constantine-cooke@ed.ac.uk",
    "login": "nathansam",
    "orcid": "0000-0002-4437-8713",
    "twitter": "@IBDNathan",
    "description": "Postdoctoral researcher at the University of Edinburgh and member of the @VallejosGroup and Lees group. Longitudinal modelling of Inflammatory Bowel Disease.",
    "uuid": 10416927
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "splines",
      "role": "Depends"
    },
    {
      "package": "patchwork",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "ComplexHeatmap",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "lcmm",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Suggests"
    }
  ],
  "_owner": "vallejosgroup",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2025-10-03"
    }
  ],
  "_topics": [
    "clustering",
    "crp",
    "denmark",
    "fcal",
    "ibd",
    "lcmm",
    "scotland"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nathansam",
      "count": 167,
      "uuid": 10416927
    },
    {
      "user": "catavallejos",
      "count": 53,
      "uuid": 7511093
    },
    {
      "user": "marievibeke",
      "count": 1,
      "uuid": 62746303
    }
  ],
  "_userbio": {
    "uuid": 10416927,
    "type": "user",
    "name": "Nathan Constantine-Cooke",
    "description": "Postdoctoral researcher at the University of Edinburgh and member of the @VallejosGroup and Lees group. Longitudinal modelling of Inflammatory Bowel Disease."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/libdr"
  },
  "_devurl": "https://github.com/vallejosgroup/lothian-ibdr",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/libdr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "buildDT",
    "compareClustering",
    "describe_cat",
    "lcmmHeatmap",
    "makeMetrics",
    "mlrPlot",
    "plotCat",
    "rankCumulative",
    "reLabel",
    "spaghettiPlot"
  ],
  "_help": [
    {
      "page": "buildDT",
      "title": "Build DT::datatable objects from matrix of fit statistics",
      "topics": [
        "buildDT"
      ]
    },
    {
      "page": "compareClustering",
      "title": "Create co-clustering matrix for FCAL and CRP models",
      "topics": [
        "compareClustering"
      ]
    },
    {
      "page": "describe_cat",
      "title": "Produce descriptive analysis of categorical variables",
      "topics": [
        "describe_cat"
      ]
    },
    {
      "page": "lcmmHeatmap",
      "title": "Produce a heatmap of LCMM cluster assignments across multiple lcmm::hlme fit objects",
      "topics": [
        "lcmmHeatmap"
      ]
    },
    {
      "page": "makeMetrics",
      "title": "Produce table of model fit metrics (AIC, BIC, Log-likelihood) for LCMMs",
      "topics": [
        "makeMetrics"
      ]
    },
    {
      "page": "mlrPlot",
      "title": "Forest plot of multinomial logistic regression model",
      "topics": [
        "mlrPlot"
      ]
    },
    {
      "page": "plotCat",
      "title": "Percentage bar plots for categorical data",
      "topics": [
        "plotCat"
      ]
    },
    {
      "page": "rankCumulative",
      "title": "Rank clusters by the area under their mean trajectories",
      "topics": [
        "rankCumulative"
      ]
    },
    {
      "page": "reLabel",
      "title": "relabel alluvial class labels ensuring consistency.",
      "topics": [
        "reLabel"
      ]
    },
    {
      "page": "spaghettiPlot",
      "title": "Spaghetti plots of each class",
      "topics": [
        "spaghettiPlot"
      ]
    }
  ],
  "_readme": "https://github.com/VallejosGroup/Lothian-IBDR/raw/HEAD/README.md",
  "_rundeps": [
    "BiocGenerics",
    "circlize",
    "cli",
    "clue",
    "cluster",
    "codetools",
    "colorspace",
    "ComplexHeatmap",
    "cpp11",
    "crayon",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "forcats",
    "foreach",
    "generics",
    "GetoptLong",
    "ggplot2",
    "GlobalOptions",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "IRanges",
    "isoband",
    "iterators",
    "knitr",
    "labeling",
    "lattice",
    "lcmm",
    "lifecycle",
    "magrittr",
    "marqLevAlg",
    "Matrix",
    "matrixStats",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "patchwork",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rjson",
    "rlang",
    "S4Vectors",
    "S7",
    "scales",
    "shape",
    "spacefillr",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 2.230448921378274,
  "_indexed": false,
  "_nocasepkg": "libdr",
  "_universes": [
    "nathansam"
  ],
  "_indexurl": "https://vallejosgroup.r-universe.dev/libdr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T07:24:16.000Z",
      "distro": "noble",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "a09f0802bcd0b09298eafc93f0c58a299b047902c5b4de17ce0f2b2f90f0e151",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T07:24:19.000Z",
      "distro": "noble",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "bef04ea10fdf37db139ecc6c2a13095b7ac19c5cdf5b96b07e6a7035df4bd5b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T07:23:28.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "a65d6b1dfb0a53da74710403c6b9dbef76d33c779c0b1a3bc1ed2ae575e9b3a6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T07:23:39.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "a8ae87ef2ecc871e55a0ff2502ef9cdabb5bd2cebbb045e21f5e038eff4b35da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-02T07:24:38.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "ee324d9c50b4913eb5b3b0b92fe0e706c41b8a5140bda3fff16c8f6436eb2351",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T07:23:32.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "df5ca7261dc69e3168323096936446072d7bb2c5159d183b965ade67ffdc8af0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T07:23:20.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "150e8d40bddfc64dedf9c49dd9a278d08a0042842bb78619a4acfed97458d155",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T07:23:16.000Z",
      "commit": "e44d6362ea97b4d5d368d4c7b78c89f177791103",
      "fileid": "3473aa5dbc7aa43f809174dde58e4b8225f1b25394971642490a4ca809459e01",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nathansam/actions/runs/26804715800"
    }
  ]
}