{
  "_id": "6a169ec0acfb0bcc41d7fd00",
  "Package": "ApplyPolygenicScore",
  "Type": "Package",
  "Title": "Utilities for the Application of a Polygenic Score to a VCF",
  "Version": "4.0.2",
  "Authors@R": "c(\nperson('Paul', 'Boutros', role = 'cre', email = 'PBoutros@sbpdiscovery.org'),\nperson('Nicole', 'Zeltser', role = 'aut', comment = c(ORCID = '0000-0001-7246-2771')),\nperson('Rachel', 'Dang', role = 'ctb'),\nperson('Raag', 'Agrawal', role = 'ctb'))",
  "Description": "Simple and transparent parsing of genotype/dosage data\nfrom an input Variant Call Format (VCF) file, matching of\ngenotype coordinates to the component Single Nucleotide\nPolymorphisms (SNPs) of an existing polygenic score (PGS), and\napplication of SNP weights to dosages for the calculation of a\npolygenic score for each individual in accordance with the\nadditive weighted sum of dosages model. Methods are designed in\nreference to best practices described by Collister, Liu, and\nClifton (2022) <doi:10.3389/fgene.2022.818574>.",
  "Config/testthat/edition": "3",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 07:21:49 UTC",
    "User": "root"
  },
  "Author": "Paul Boutros [cre], Nicole Zeltser [aut] (ORCID:\n<https://orcid.org/0000-0001-7246-2771>), Rachel Dang [ctb],\nRaag Agrawal [ctb]",
  "Maintainer": "Paul Boutros <PBoutros@sbpdiscovery.org>",
  "Config/pak/sysreqs": "libicu-dev libjpeg-dev libpng-dev",
  "Repository": "https://pboutros.r-universe.dev",
  "Date/Publication": "2026-02-26 19:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/ApplyPolygenicScore",
  "RemoteRef": "HEAD",
  "RemoteSha": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
  "MD5sum": "892c067b91c5492091f7c646d827202d",
  "_user": "pboutros",
  "_type": "src",
  "_file": "ApplyPolygenicScore_4.0.2.tar.gz",
  "_fileid": "376ecfd3bfc88fe9c74fae8e762ecd64ca6dd754ba6529bd7ddbdcc09487ecfb",
  "_filesize": 6159778,
  "_sha256": "376ecfd3bfc88fe9c74fae8e762ecd64ca6dd754ba6529bd7ddbdcc09487ecfb",
  "_created": "2026-05-27T07:21:49.000Z",
  "_published": "2026-05-27T07:35:28.062Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78027526925,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234362090"
    },
    {
      "job": 78027526920,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234363424"
    },
    {
      "job": 78027526971,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234417415"
    },
    {
      "job": 78027526923,
      "time": 261,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234514030"
    },
    {
      "job": 78026977010,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234280661"
    },
    {
      "job": 78027526888,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234318124"
    },
    {
      "job": 78027526927,
      "time": 220,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234348655"
    },
    {
      "job": 78027527100,
      "time": 227,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234351115"
    },
    {
      "job": 78027526952,
      "time": 234,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234354221"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ApplyPolygenicScore",
  "_commit": {
    "id": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
    "author": "Paul Boutros <PBoutros@sbpdiscovery.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.0.2\n",
    "time": 1772133002
  },
  "_maintainer": {
    "name": "Paul Boutros",
    "email": "pboutros@sbpdiscovery.org",
    "login": "pboutros",
    "twitter": "@theboutroslab",
    "description": "",
    "uuid": 7833438
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "vcfR",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "BoutrosLab.plotting.general",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0.0",
      "date": "2025-08-20"
    },
    {
      "name": "4.0.1",
      "date": "2026-01-24"
    },
    {
      "name": "4.0.2",
      "date": "2026-02-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pboutros",
      "count": 4,
      "uuid": 7833438
    }
  ],
  "_userbio": {
    "uuid": 7833438,
    "type": "user",
    "name": "Paul C. Boutros"
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ApplyPolygenicScore"
  },
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/ApplyPolygenicScore.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "pboutros",
  "_cranurl": false,
  "_releases": [
    {
      "version": "3.0.1",
      "date": "2025-03-05"
    },
    {
      "version": "4.0.0",
      "date": "2025-08-20"
    },
    {
      "version": "4.0.1",
      "date": "2026-01-24"
    },
    {
      "version": "4.0.2",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "analyze.pgs.binary.predictiveness",
    "apply.polygenic.score",
    "assess.pgs.vcf.allele.match",
    "combine.pgs.bed",
    "combine.vcf.with.pgs",
    "convert.allele.frequency.to.dosage",
    "convert.alleles.to.pgs.dosage",
    "convert.pgs.to.bed",
    "create.pgs.boxplot",
    "create.pgs.density.plot",
    "create.pgs.rank.plot",
    "create.pgs.with.continuous.phenotype.plot",
    "flip.DNA.allele",
    "format.chromosome.notation",
    "get.pgs.percentiles",
    "import.pgs.weight.file",
    "import.vcf",
    "parse.pgs.input.header",
    "run.pgs.regression"
  ],
  "_help": [
    {
      "page": "analyze.pgs.binary.predictiveness",
      "title": "Analyze PGS Predictiveness for Binary Phenotypes",
      "topics": [
        "analyze.pgs.binary.predictiveness"
      ]
    },
    {
      "page": "apply.polygenic.score",
      "title": "Apply polygenic score to VCF data",
      "topics": [
        "apply.polygenic.score"
      ]
    },
    {
      "page": "assess.pgs.vcf.allele.match",
      "title": "Assess PGS allele match to VCF allele",
      "topics": [
        "assess.pgs.vcf.allele.match"
      ]
    },
    {
      "page": "check.pgs.weight.columns",
      "title": "Check PGS weight file columns",
      "topics": [
        "check.pgs.weight.columns"
      ]
    },
    {
      "page": "combine.pgs.bed",
      "title": "Combine PGS BED files",
      "topics": [
        "combine.pgs.bed"
      ]
    },
    {
      "page": "combine.vcf.with.pgs",
      "title": "Combine VCF with PGS",
      "topics": [
        "combine.vcf.with.pgs"
      ]
    },
    {
      "page": "convert.allele.frequency.to.dosage",
      "title": "Convert allele frequency to mean dosage",
      "topics": [
        "convert.allele.frequency.to.dosage"
      ]
    },
    {
      "page": "convert.alleles.to.pgs.dosage",
      "title": "Convert alleles to dosage",
      "topics": [
        "convert.alleles.to.pgs.dosage"
      ]
    },
    {
      "page": "convert.pgs.to.bed",
      "title": "Convert PGS data to BED format",
      "topics": [
        "convert.pgs.to.bed"
      ]
    },
    {
      "page": "create.pgs.boxplot",
      "title": "Plot PGS Boxplots",
      "topics": [
        "create.pgs.boxplot"
      ]
    },
    {
      "page": "create.pgs.density.plot",
      "title": "Plot PGS Density",
      "topics": [
        "create.pgs.density.plot"
      ]
    },
    {
      "page": "create.pgs.rank.plot",
      "title": "Plot PGS Rank",
      "topics": [
        "create.pgs.rank.plot"
      ]
    },
    {
      "page": "create.pgs.with.continuous.phenotype.plot",
      "title": "Plot PGS Scatterplots",
      "topics": [
        "create.pgs.with.continuous.phenotype.plot"
      ]
    },
    {
      "page": "flip.DNA.allele",
      "title": "Flip DNA allele",
      "topics": [
        "flip.DNA.allele"
      ]
    },
    {
      "page": "format.chromosome.notation",
      "title": "Format chromosome names",
      "topics": [
        "format.chromosome.notation"
      ]
    },
    {
      "page": "get.pgs.percentiles",
      "title": "get.pgs.percentiles",
      "topics": [
        "get.pgs.percentiles"
      ]
    },
    {
      "page": "import.pgs.weight.file",
      "title": "Import PGS weight file",
      "topics": [
        "import.pgs.weight.file"
      ]
    },
    {
      "page": "import.vcf",
      "title": "Import VCF file",
      "topics": [
        "import.vcf"
      ]
    },
    {
      "page": "parse.pgs.input.header",
      "title": "Parse PGS input file header",
      "topics": [
        "parse.pgs.input.header"
      ]
    },
    {
      "page": "run.pgs.regression",
      "title": "Run linear and logistic regression on a polygenic score and a set of phenotypes",
      "topics": [
        "run.pgs.regression"
      ]
    },
    {
      "page": "write.apply.polygenic.score.output.to.file",
      "title": "Write apply.polygenic.score output to file",
      "topics": [
        "write.apply.polygenic.score.output.to.file"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ApplyPolygenicScore/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "BoutrosLab.plotting.general",
    "class",
    "cli",
    "cluster",
    "data.table",
    "deldir",
    "digest",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "gridExtra",
    "gtable",
    "hexbin",
    "interp",
    "jpeg",
    "lattice",
    "latticeExtra",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memuse",
    "mgcv",
    "nlme",
    "permute",
    "pillar",
    "pinfsc50",
    "pkgconfig",
    "png",
    "pROC",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vcfR",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "UserGuide.Rmd",
      "filename": "UserGuide.html",
      "title": "User Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Input data",
        "Input importation",
        "Importing VCF data",
        "Imported VCF data structures",
        "Importing polygenic score data",
        "Importing phenotype data",
        "Creating a BED-formatted coordinate file",
        "Conversion of PGS weight files to a coordinate file in BED format",
        "Merging coordinates from multiple polygenic scores",
        "Input data validation",
        "Polygenic Score Application",
        "Basic usage",
        "combine.vcf.with.pgs",
        "Allele matching",
        "Missing genotype methods",
        "Custom percentiles",
        "Phenotype analysis",
        "Data Visualization",
        "Common plotting arguments",
        "PGS Density",
        "Basic plot",
        "Add phenotypes",
        "PGS Boxplot",
        "PGS Correlation",
        "PGS Percentile Rank",
        "Optional arguments",
        "Case-control analysis",
        "Basic Plot",
        "Binarize Continuous Phenotypes"
      ],
      "created": "2025-03-05 16:46:03",
      "modified": "2025-08-20 23:20:02",
      "commits": 2
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "applypolygenicscore",
  "_universes": [
    "pboutros"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.2",
      "date": "2026-05-27T07:24:15.000Z",
      "distro": "noble",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "8e5e66ca17b8c492a2caa434ef22d7d2326c9a971e0c30c99e2d3163f0942bcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0.2",
      "date": "2026-05-27T07:24:11.000Z",
      "distro": "noble",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "1d003957c51bcee94255d2956548d2aa96fcfccb1a53ff88be75d0fbdd8750bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.0.2",
      "date": "2026-05-27T07:28:06.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "768d620e025fd16eb5c814f9eb287b16a8cfc8b4a53ec8896a21c0c249a7f581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.0.2",
      "date": "2026-05-27T07:32:59.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "b3a0844ce0147ca5fa9e8b81049ab05529b53a4610bde1478b0f2192317504dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0.2",
      "date": "2026-05-27T07:24:07.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "2263f947293dc7c8b8c14b83bc674d69149dcd271f4c8fcf1b2f92d493c3c052",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.0.2",
      "date": "2026-05-27T07:23:17.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "ec7ff575242b8a50a8b5f30170fe14eaa423797334ca8747257e68b6ccdc68d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.0.2",
      "date": "2026-05-27T07:23:30.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "8122ffc06cfbb3a14d09ff5cc263c5f96e392f582eb3258281229e7f1f30f902",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "4.0.2",
      "date": "2026-05-27T07:23:33.000Z",
      "commit": "9adad0eef19189e15dfe1c07a8dd8a272a0ef539",
      "fileid": "d91f9aafb423c42091bcd7d3ba85dc49e8730db7593b50b3b253597fe5a0f080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pboutros/actions/runs/26496813358"
    }
  ]
}