{
  "_id": "6a1fdb22b401979e73437bf0",
  "Package": "phers",
  "Type": "Package",
  "Title": "Calculate Phenotype Risk Scores",
  "Version": "1.0.5",
  "Authors@R": "c(\nperson('Jake', 'Hughey', , 'jakejhughey@gmail.com', c('aut', 'cre')),\nperson('Layla', 'Aref', , 'larefnezhad@gmail.com', 'aut'))",
  "Description": "Use phenotype risk scores based on linked clinical and\ngenetic data to study Mendelian disease and rare genetic\nvariants. See Bastarache et al. 2018\n<doi:10.1126/science.aal4043>.",
  "URL": "https://phers.hugheylab.org, https://github.com/hugheylab/phers",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Repository": "https://hugheylab.r-universe.dev",
  "Date/Publication": "2026-03-03 05:16:15 UTC",
  "RemoteUrl": "https://github.com/hugheylab/phers",
  "RemoteRef": "HEAD",
  "RemoteSha": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 07:39:53 UTC",
    "User": "root"
  },
  "Author": "Jake Hughey [aut, cre],\nLayla Aref [aut]",
  "Maintainer": "Jake Hughey <jakejhughey@gmail.com>",
  "MD5sum": "f0882b2bbfe5e9a818dbd7a29582250a",
  "_user": "hugheylab",
  "_type": "src",
  "_file": "phers_1.0.5.tar.gz",
  "_fileid": "1c43f713dc787b0406234ec1cc12fe5316dc0d94975ee05b72979b1a86d19722",
  "_filesize": 1629260,
  "_sha256": "1c43f713dc787b0406234ec1cc12fe5316dc0d94975ee05b72979b1a86d19722",
  "_created": "2026-06-03T07:39:53.000Z",
  "_published": "2026-06-03T07:43:30.085Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79245206689,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7378526512"
    },
    {
      "job": 79245206678,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378535876"
    },
    {
      "job": 79245206686,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7378509649"
    },
    {
      "job": 79245206661,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378511348"
    },
    {
      "job": 79244777213,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378480755"
    },
    {
      "job": 79245206637,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378518353"
    },
    {
      "job": 79245206687,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7378515040"
    },
    {
      "job": 79245206694,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7378516712"
    },
    {
      "job": 79245206703,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378512419"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hugheylab/phers",
  "_commit": {
    "id": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
    "author": "Jake Hughey <jakejhughey@gmail.com>",
    "committer": "Jake Hughey <jakejhughey@gmail.com>",
    "message": "set dt threads to 1.\n",
    "time": 1772514975
  },
  "_maintainer": {
    "name": "Jake Hughey",
    "email": "jakejhughey@gmail.com",
    "login": "jakejh",
    "description": "",
    "uuid": 2295314
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "BEDMatrix",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "version": ">= 1.5.2",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "version": ">= 1.0.14",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 3.3.1",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "version": ">= 1.0.17",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hugheylab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jakejh",
      "count": 44,
      "uuid": 2295314
    },
    {
      "user": "jschoenbachler",
      "count": 21,
      "uuid": 15148457
    },
    {
      "user": "arefnel",
      "count": 3,
      "uuid": 42152281
    }
  ],
  "_userbio": {
    "uuid": 32131222,
    "type": "organization",
    "name": "Hughey Lab"
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phers"
  },
  "_devurl": "https://github.com/hugheylab/phers",
  "_pkgdown": "https://phers.hugheylab.org",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/phers.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hugheylab/phers",
  "_realowner": "hugheylab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2022-05-10"
    },
    {
      "version": "0.0.3",
      "date": "2022-06-01"
    },
    {
      "version": "1.0.0",
      "date": "2022-12-15"
    },
    {
      "version": "1.0.2",
      "date": "2023-03-26"
    },
    {
      "version": "1.0.5",
      "date": "2026-03-03"
    }
  ],
  "_exports": [
    "getDxStatus",
    "getGeneticAssociations",
    "getPhecodeOccurrences",
    "getResidualScores",
    "getScores",
    "getWeights",
    "mapDiseaseToPhecode"
  ],
  "_datasets": [
    {
      "name": "demoSample",
      "title": "Sample table of demographic information",
      "object": "demoSample",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "person_id",
        "sex",
        "dob",
        "first_visit_date",
        "last_visit_date"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "diseaseDxIcdMap",
      "title": "Mapping of diseases and diagnostic ICD codes",
      "object": "diseaseDxIcdMap",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "disease_id",
        "disease_name",
        "icd",
        "flag",
        "icd_name"
      ],
      "rows": 81,
      "table": true,
      "tojson": true
    },
    {
      "name": "diseaseHpoMap",
      "title": "Mapping of Mendelian diseases and their clinical features",
      "object": "diseaseHPOMap",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "disease_id",
        "disease_name",
        "hpo_term_id",
        "hpo_term_name"
      ],
      "rows": 75084,
      "table": true,
      "tojson": true
    },
    {
      "name": "hpoPhecodeMap",
      "title": "Mapping of HPO terms and phecodes",
      "object": "HPOPhecodeMap",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "hpo_term_id",
        "hpo_term_name",
        "phecode",
        "phecode_name"
      ],
      "rows": 4189,
      "table": true,
      "tojson": true
    },
    {
      "name": "icdPhecodeMap",
      "title": "Mapping of ICD codes and phecodes",
      "object": "ICDPhecodeMap",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "icd",
        "flag",
        "icd_name",
        "phecode",
        "phecode_name"
      ],
      "rows": 156641,
      "table": true,
      "tojson": true
    },
    {
      "name": "icdSample",
      "title": "Sample table of ICD occurrences",
      "object": "icdSample",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "person_id",
        "icd",
        "flag",
        "entry_date"
      ],
      "rows": 64,
      "table": true,
      "tojson": true
    },
    {
      "name": "preCalcWeights",
      "title": "Pre-calculated weights for calculating phenotype risk scores",
      "object": "preCalcWeights",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "phecode",
        "pred",
        "w"
      ],
      "rows": 1865,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "demoSample",
      "title": "Sample table of demographic information",
      "topics": [
        "demoSample"
      ]
    },
    {
      "page": "diseaseDxIcdMap",
      "title": "Mapping of diseases and diagnostic ICD codes",
      "topics": [
        "diseaseDxIcdMap"
      ]
    },
    {
      "page": "diseaseHpoMap",
      "title": "Mapping of Mendelian diseases and their clinical features",
      "topics": [
        "diseaseHpoMap"
      ]
    },
    {
      "page": "getDxStatus",
      "title": "Identify cases and controls for Mendelian diseases",
      "topics": [
        "getDxStatus"
      ]
    },
    {
      "page": "getGeneticAssociations",
      "title": "Perform association tests between phenotype risk scores and genotypes",
      "topics": [
        "getGeneticAssociations"
      ]
    },
    {
      "page": "getPhecodeOccurrences",
      "title": "Map ICD code occurrences to phecode occurrences",
      "topics": [
        "getPhecodeOccurrences"
      ]
    },
    {
      "page": "getResidualScores",
      "title": "Calculate residual phenotype risk scores",
      "topics": [
        "getResidualScores"
      ]
    },
    {
      "page": "getScores",
      "title": "Calculate phenotype risk scores",
      "topics": [
        "getScores"
      ]
    },
    {
      "page": "getWeights",
      "title": "Calculate phecode-specific weights for phenotype risk scores",
      "topics": [
        "getWeights"
      ]
    },
    {
      "page": "hpoPhecodeMap",
      "title": "Mapping of HPO terms and phecodes",
      "topics": [
        "hpoPhecodeMap"
      ]
    },
    {
      "page": "icdPhecodeMap",
      "title": "Mapping of ICD codes and phecodes",
      "topics": [
        "icdPhecodeMap"
      ]
    },
    {
      "page": "icdSample",
      "title": "Sample table of ICD occurrences",
      "topics": [
        "icdSample"
      ]
    },
    {
      "page": "mapDiseaseToPhecode",
      "title": "Map diseases to phecodes via HPO terms",
      "topics": [
        "mapDiseaseToPhecode"
      ]
    },
    {
      "page": "preCalcWeights",
      "title": "Pre-calculated weights for calculating phenotype risk scores",
      "topics": [
        "preCalcWeights"
      ]
    }
  ],
  "_readme": "https://github.com/hugheylab/phers/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BEDMatrix",
    "checkmate",
    "codetools",
    "crochet",
    "data.table",
    "foreach",
    "iterators",
    "lattice",
    "Matrix",
    "survival"
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "phers",
  "_universes": [
    "hugheylab",
    "jakejh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-03T07:42:00.000Z",
      "distro": "noble",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "0039f063b8ad8497444f0b5237aeea53aa5880aaf004ef602eb5b6cb7a72bcaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-03T07:42:30.000Z",
      "distro": "noble",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "e232836a2a20f000ee93ed70fc05a543aec2db27babaf620a571e9cb31c1d4b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-06-03T07:41:23.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "e959fac6014cddfbece26381cbdd48b1370a64f174735aec2f6a5c1b3822f642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-06-03T07:41:27.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "b2e1fd8c68ce6af0094adece01b2ac887af0d6b967adb22585e2b349de4810e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-06-03T07:42:09.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "4525c3213c2c4949e063bcedd9409619443aa0b646030757ccd8a43b3a8fcea2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-03T07:41:14.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "446eba37a44264c467493dbfbf037936465433ca7abc73b85be79c53bb857507",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-03T07:41:23.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "c6c73d96945cbd84e68ea2f6e3e69ee5c11240482abe615208db91a73f0c1850",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-03T07:41:09.000Z",
      "commit": "7cf555bc2bae2a96409fcceb4620f1727cd1a18f",
      "fileid": "07e5d7a56f8fb380200b84f3127373cb8f68ef092f57544653b94631f80253f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugheylab/actions/runs/26870617229"
    }
  ]
}