{
  "_id": "6aeb5c37818c9e3ef6dc1865",
  "Package": "csmGmm",
  "Type": "Package",
  "Title": "Conditionally Symmetric Multidimensional Gaussian Mixture Model",
  "Version": "0.6.0",
  "Authors@R": "c(\nperson(\"Ryan\", \"Sun\", email = \"ryansun.work@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Emily\", \"Kim\", role=\"aut\"))",
  "Description": "Implements the conditionally symmetric multidimensional\nGaussian mixture model (csmGmm) for large-scale testing of\ncomposite null hypotheses in genetic association applications\nsuch as mediation analysis, pleiotropy analysis, and\nreplication analysis. In such analyses, we typically have J\nsets of K test statistics where K is a small number (e.g. 2 or\n3) and J is large (e.g. 1 million). For each one of the J sets,\nwe want to know if we can reject all K individual nulls. Please\nsee the vignette for a quickstart guide. The paper describing\nthese methods is \"Testing a Large Number of Composite Null\nHypotheses Using Conditionally Symmetric Multidimensional\nGaussian Mixtures in Genome-Wide Studies\" by Sun R, McCaw Z, &\nLin X (Journal of the American Statistical Association 2025,\n<doi:10.1080/01621459.2024.2422124>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-04 16:02:53 UTC",
    "User": "root"
  },
  "Author": "Ryan Sun [aut, cre], Emily Kim [aut]",
  "Maintainer": "Ryan Sun <ryansun.work@gmail.com>",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://ryansunwork.r-universe.dev",
  "Date/Publication": "2026-11-04 09:29:52 UTC",
  "RemoteUrl": "https://github.com/cran/csmGmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
  "_user": "ryansunwork",
  "_type": "src",
  "_file": "csmGmm_0.6.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a54c4a3497f3968bc4abd2f85f27db5e1df460ef9bb52f80fc4a2f6194e63987",
  "_filesize": 176936,
  "_sha256": "a54c4a3497f3968bc4abd2f85f27db5e1df460ef9bb52f80fc4a2f6194e63987",
  "_expires": "2027-02-12T16:24:21.000Z",
  "_created": "2026-11-04T16:02:53.000Z",
  "_published": "2026-11-04T16:24:23.288Z",
  "_upstream": "https://github.com/cran/csmGmm",
  "_status": "success",
  "_maintainer": {
    "name": "Ryan Sun",
    "email": "ryansun.work@gmail.com",
    "login": "ryansunwork",
    "description": "",
    "uuid": 53724996
  },
  "_jobs": [
    {
      "job": 126692284198,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13340229071"
    },
    {
      "job": 126692284001,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340243897"
    },
    {
      "job": 126690033581,
      "time": 264,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13341681180"
    },
    {
      "job": 126692284119,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13340199126"
    },
    {
      "job": 126692283964,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13341856097"
    },
    {
      "job": 126692284117,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13340972357"
    },
    {
      "job": 126692284385,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13341107150"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607",
  "_commit": {
    "id": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
    "author": "Ryan Sun <ryansun.work@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6.0\n",
    "time": 1793784592
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "R.utils",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-06-16"
    },
    {
      "name": "0.6.0",
      "date": "2026-11-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ryansunwork",
      "count": 4,
      "uuid": 53724996
    }
  ],
  "_userbio": {
    "uuid": 53724996,
    "type": "user",
    "name": "ryansunwork",
    "followers": 0
  },
  "_downloads": {
    "count": 391,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/csmGmm"
  },
  "_searchresults": 142,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/csmGmm.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "ryansunwork",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2024-12-03"
    },
    {
      "version": "0.4.0",
      "date": "2025-09-16"
    },
    {
      "version": "0.5.0",
      "date": "2026-06-16"
    }
  ],
  "_exports": [
    "calc_dens_cor",
    "calc_dens_ind_2d",
    "calc_dens_ind_3d",
    "calc_dens_ind_multiple",
    "check_incongruous",
    "create_plots",
    "find_2d",
    "find_3d",
    "find_4d",
    "find_max_means",
    "generate_init_lists",
    "get_marginal_mixture",
    "plot_fit_hist",
    "prepare_csmgmm_data",
    "process_lfdr_results",
    "read_gwas_one",
    "read_gwas_set",
    "symm_fit_cor_EM",
    "symm_fit_cor_EM_fulllik",
    "symm_fit_cor_EM_noAssumption",
    "symm_fit_cor_EM_rho",
    "symm_fit_ind_EM",
    "symm_fit_ind_EM_noAssumption"
  ],
  "_help": [
    {
      "page": "calc_dens_cor",
      "title": "calc_dens_cor.R",
      "topics": [
        "calc_dens_cor"
      ]
    },
    {
      "page": "calc_dens_ind_2d",
      "title": "calc_dens_ind.R",
      "topics": [
        "calc_dens_ind_2d"
      ]
    },
    {
      "page": "calc_dens_ind_3d",
      "title": "Calculate J trivariate normal densities (all dimensions are independent) under fitted csmGmm.",
      "topics": [
        "calc_dens_ind_3d"
      ]
    },
    {
      "page": "calc_dens_ind_multiple",
      "title": "Calculate the density of K-dimensional multivariate normal (all dimensions are independent) under fitted acsGmm.",
      "topics": [
        "calc_dens_ind_multiple"
      ]
    },
    {
      "page": "check_incongruous",
      "title": "check_incongruous.R",
      "topics": [
        "check_incongruous"
      ]
    },
    {
      "page": "create_plots",
      "title": "create_plots.R",
      "topics": [
        "create_plots"
      ]
    },
    {
      "page": "find_2d",
      "title": "Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=2 case.",
      "topics": [
        "find_2d"
      ]
    },
    {
      "page": "find_3d",
      "title": "Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=3 case.",
      "topics": [
        "find_3d"
      ]
    },
    {
      "page": "find_4d",
      "title": "Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=4 case.",
      "topics": [
        "find_4d"
      ]
    },
    {
      "page": "find_max_means",
      "title": "find_max_means.R",
      "topics": [
        "find_max_means"
      ]
    },
    {
      "page": "generate_init_lists",
      "title": "generate_init_lists.R",
      "topics": [
        "generate_init_lists"
      ]
    },
    {
      "page": "get_marginal_mixture",
      "title": "diagnostic_plot.R",
      "topics": [
        "get_marginal_mixture"
      ]
    },
    {
      "page": "plot_fit_hist",
      "title": "Histogram of the observed test statistics with the fitted marginal mixture density overlaid.",
      "topics": [
        "plot_fit_hist"
      ]
    },
    {
      "page": "prepare_csmgmm_data",
      "title": "prepare_csmgmm_data.R",
      "topics": [
        "prepare_csmgmm_data"
      ]
    },
    {
      "page": "process_lfdr_results",
      "title": "process_lfdr_results.R",
      "topics": [
        "process_lfdr_results"
      ]
    },
    {
      "page": "read_gwas_one",
      "title": "read_gwas.R",
      "topics": [
        "read_gwas_one"
      ]
    },
    {
      "page": "read_gwas_set",
      "title": "Read 2-5 GWAS Catalog summary-statistics files into the current environment.",
      "topics": [
        "read_gwas_set"
      ]
    },
    {
      "page": "symm_fit_cor_EM",
      "title": "symm_fit_cor.R",
      "topics": [
        "symm_fit_cor_EM"
      ]
    },
    {
      "page": "symm_fit_cor_EM_fulllik",
      "title": "symm_fit_cor_fulllik.R",
      "topics": [
        "symm_fit_cor_EM_fulllik"
      ]
    },
    {
      "page": "symm_fit_cor_EM_noAssumption",
      "title": "symm_fit_cor_noAssumption.R",
      "topics": [
        "symm_fit_cor_EM_noAssumption"
      ]
    },
    {
      "page": "symm_fit_cor_EM_rho",
      "title": "symm_fit_cor_rho.R",
      "topics": [
        "symm_fit_cor_EM_rho"
      ]
    },
    {
      "page": "symm_fit_ind_EM",
      "title": "symm_fit_ind.R",
      "topics": [
        "symm_fit_ind_EM"
      ]
    },
    {
      "page": "symm_fit_ind_EM_noAssumption",
      "title": "symm_fit_ind_noAssumption.R",
      "topics": [
        "symm_fit_ind_EM_noAssumption"
      ]
    }
  ],
  "_readme": "https://github.com/cran/csmGmm/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "curl",
    "data.table",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "csmGmm_tutorial.Rmd",
      "filename": "csmGmm_tutorial.html",
      "title": "csmGmm Tutorial",
      "author": "Ryan Sun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Worked Example of csmGmm for Two-Dimensional Mediation",
        "Worked Example of csmGmm for Three-Dimensional Pleiotropy Study",
        "Initialization in Higher Dimensions",
        "Worked Example of c-csmGmm",
        "Worked Example of r-csmGmm"
      ],
      "created": "2024-12-03 19:30:02",
      "modified": "2026-11-04 09:29:52",
      "commits": 3
    }
  ],
  "_score": 4.152288344383057,
  "_indexed": true,
  "_nocasepkg": "csmgmm",
  "_universes": [
    "ryansunwork"
  ],
  "_previous": "0.5.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-11-04T16:04:54.000Z",
      "distro": "resolute",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/176f31defbfd4d0d227920a20f66421ccc4ae6f269476011c6588d474dd71c64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-11-04T16:04:59.000Z",
      "distro": "resolute",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/1da0ddd80dc6fb1b4005d2106ae343e74ec97f52121f7722ac14164c315d9548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-11-04T16:22:36.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/4d972319c3509eeedc04ae4655f72f1bf0fcbd3bb1e7c4f952ac6b8952bd7126",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-11-04T16:18:36.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/d24d55e65272be28c0307928a0be1c5bb433de00714b94e266ab068ad3cf8cad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-11-04T16:04:39.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/63a4f1f54f0808f0855dac8c8c2b48d135c6e52bfe319190542293a16a5ebb00",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-11-04T16:03:58.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/ce6b62612edd4b3863857a0f79f71b1768d3c7573efaa97df10dbc15034b195c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-11-04T16:04:01.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/4530aff7dd91ea1c323cf72b983d26613448a7531b3f4a804f0b2b9486224848",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-11-04T16:04:06.000Z",
      "commit": "6a31a9d8a428b46ba5123c3f84a07f181bcd78db",
      "fileid": "https://r2.ropensci.org/a7374bb2154bd41b47ad191c177127a04e2251c44f2a27b7f4f2881149d0e394",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/41863045607"
    }
  ]
}