{
  "_id": "6acf4cc8d9de2f3f33fca8a2",
  "Package": "csmGmm",
  "Type": "Package",
  "Title": "Conditionally Symmetric Multidimensional Gaussian Mixture Model",
  "Version": "0.5.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",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 08:41:05 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-06-16 17:26:37 UTC",
  "RemoteUrl": "https://github.com/cran/csmGmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "fd3fd9167e83020f905639cca271f2bdd75095a1",
  "_user": "ryansunwork",
  "_type": "src",
  "_file": "csmGmm_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/03dbdbccf42e70a7303733f8efd132e0456e0f003ef52ebfe6f7a1dd79c3d89f",
  "_filesize": 163583,
  "_sha256": "03dbdbccf42e70a7303733f8efd132e0456e0f003ef52ebfe6f7a1dd79c3d89f",
  "_expires": "2027-01-22T09:35:02.000Z",
  "_created": "2026-10-14T08:41:05.000Z",
  "_published": "2026-10-14T09:35:04.462Z",
  "_buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115761867867,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11880950959"
    },
    {
      "job": 115761868104,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880871055"
    },
    {
      "job": 115761867876,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11883131094"
    },
    {
      "job": 115761868006,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11883835063"
    },
    {
      "job": 115760187074,
      "time": 252,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880681240"
    },
    {
      "job": 115761867864,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11881325309"
    },
    {
      "job": 115761867964,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11881240427"
    },
    {
      "job": 115761867829,
      "time": 117,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11880381742"
    },
    {
      "job": 115761867786,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880606706"
    }
  ],
  "_upstream": "https://github.com/cran/csmGmm",
  "_commit": {
    "id": "fd3fd9167e83020f905639cca271f2bdd75095a1",
    "author": "Ryan Sun <ryansun.work@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1781630797
  },
  "_maintainer": {
    "name": "Ryan Sun",
    "email": "ryansun.work@gmail.com",
    "login": "ryansunwork",
    "description": "",
    "uuid": 53724996
  },
  "_distro": "resolute",
  "_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",
      "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
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-06-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ryansunwork",
      "count": 3,
      "uuid": 53724996
    }
  ],
  "_userbio": {
    "uuid": 53724996,
    "type": "user",
    "name": "ryansunwork",
    "followers": 0
  },
  "_downloads": {
    "count": 439,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/csmGmm"
  },
  "_searchresults": 144,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/csmGmm.html",
    "extra/manual.pdf",
    "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",
    "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": "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": "2025-09-16 21:40:02",
      "commits": 2
    }
  ],
  "_score": 3.8573324964312685,
  "_indexed": true,
  "_nocasepkg": "csmgmm",
  "_universes": [
    "ryansunwork"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-10-14T08:42:55.000Z",
      "distro": "resolute",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/5ca4b868f083cc4eb5601268bdb67777f920d3f4f94d2c7eb51cd3dee82af178",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-10-14T08:42:59.000Z",
      "distro": "resolute",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/e75b51b57ced4be1a4b3bc708917b046cf391fd248704967771fe3262d0cc073",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-14T09:27:29.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/6f27197da3283c4c545df60c4eb6487ed16c2f9c1d52363c5dc5e1d7812d116f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-14T09:33:52.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/1293fc5e3df2e6d352651d6e09bcdf88142abc9c38c8ca8ff4ef670e56bbe811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-10-14T08:43:08.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/bd3055ada4998306210730bd50f9a78b87cef034803e3128677c2bc78b1ea1b9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-14T08:42:15.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/a45a5207e528b3eee6d3ace0edf950c76a2aea65831f2165b0303a58b95f34ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-14T08:42:29.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/d85fa31a55e268cc2575bb45fed04d9f119f6e8440628fb4c2f669723608f042",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-14T08:42:17.000Z",
      "commit": "fd3fd9167e83020f905639cca271f2bdd75095a1",
      "fileid": "https://r2.ropensci.org/b52c9709a772b6a57fc36c50c53b75b88dd204132392f036a0ccc9b3f7412e2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/38536354398"
    }
  ]
}