{
  "_id": "6a1161efacfb0bcc41cee16c",
  "Package": "ggmix",
  "Type": "Package",
  "Title": "Variable Selection in Linear Mixed Models for SNP Data",
  "Version": "0.0.2",
  "Authors@R": "c(\nperson(\"Sahir\", \"Bhatnagar\", email = \"sahir.bhatnagar@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = \"https://sahirbhatnagar.com/\"),\nperson(\"Karim\", \"Oualkacha\", email = \"oualkacha.karim@uqam.ca\",\nrole = c(\"aut\"), comment = \"http://karimoualkacha.uqam.ca/\"),\nperson(\"Yi\", \"Yang\", email = \"yi.yang6@mcgill.ca\",\nrole = c(\"aut\"), comment = \"http://www.math.mcgill.ca/yyang/\"),\nperson(\"Celia\", \"Greenwood\", email = \"celia.greenwood@mcgill.ca\",\nrole = c(\"aut\"), comment = \"http://www.mcgill.ca/statisticalgenetics/\")\n)",
  "Description": "Fit penalized multivariable linear mixed models with a\nsingle random effect to control for population structure in\ngenetic association studies. The goal is to simultaneously fit\nmany genetic variants at the same time, in order to select\nmarkers that are independently associated with the response.\nCan also handle prior annotation information, for example, rare\nvariants, in the form of variable weights. For more\ninformation, see the website below and the accompanying paper:\nBhatnagar et al., \"Simultaneous SNP selection and adjustment\nfor population structure in high dimensional prediction\nmodels\", 2020, <DOI:10.1371/journal.pgen.1008766>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "BugReports": "https://github.com/sahirbhatnagar/ggmix/issues",
  "URL": "https://github.com/sahirbhatnagar/ggmix",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://sahirbhatnagar.r-universe.dev",
  "Date/Publication": "2021-04-14 00:13:54 UTC",
  "RemoteUrl": "https://github.com/sahirbhatnagar/ggmix",
  "RemoteRef": "HEAD",
  "RemoteSha": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 08:11:06 UTC",
    "User": "root"
  },
  "Author": "Sahir Bhatnagar [aut, cre] (https://sahirbhatnagar.com/),\nKarim Oualkacha [aut] (http://karimoualkacha.uqam.ca/),\nYi Yang [aut] (http://www.math.mcgill.ca/yyang/),\nCelia Greenwood [aut] (http://www.mcgill.ca/statisticalgenetics/)",
  "Maintainer": "Sahir Bhatnagar <sahir.bhatnagar@gmail.com>",
  "MD5sum": "0263c8d54154050dc802872c22cb99d4",
  "_user": "sahirbhatnagar",
  "_type": "src",
  "_file": "ggmix_0.0.2.tar.gz",
  "_fileid": "fb4ac7b3417ea21e16bbdb0a83074f9d69aafc5207521974b4f3b8047e6820b3",
  "_filesize": 1847950,
  "_sha256": "fb4ac7b3417ea21e16bbdb0a83074f9d69aafc5207521974b4f3b8047e6820b3",
  "_created": "2026-05-23T08:11:06.000Z",
  "_published": "2026-05-23T08:14:39.882Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77508492268,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175553844"
    },
    {
      "job": 77508492278,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175553623"
    },
    {
      "job": 77508492282,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175556050"
    },
    {
      "job": 77508492289,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175551930"
    },
    {
      "job": 77508310681,
      "time": 198,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175541316"
    },
    {
      "job": 77508492259,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175551100"
    },
    {
      "job": 77508492286,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175549800"
    },
    {
      "job": 77508492284,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175550457"
    },
    {
      "job": 77508492285,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175550712"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sahirbhatnagar/ggmix",
  "_commit": {
    "id": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
    "author": "Sahir Bhatnagar <sahir.bhatnagar@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #22 from sahirbhatnagar/fix-cran-issue\n\n",
    "time": 1618359234
  },
  "_maintainer": {
    "name": "Sahir Bhatnagar",
    "email": "sahir.bhatnagar@gmail.com",
    "login": "sahirbhatnagar",
    "description": "",
    "uuid": 5073687
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Suggests"
    },
    {
      "package": "popkin",
      "role": "Suggests"
    },
    {
      "package": "bnpsd",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "sahirbhatnagar",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "sahirbhatnagar",
      "count": 233,
      "uuid": 5073687
    },
    {
      "user": "tianyuan-lu",
      "count": 18,
      "uuid": 34028606
    }
  ],
  "_userbio": {
    "uuid": 5073687,
    "type": "user",
    "name": "Sahir Bhatnagar"
  },
  "_downloads": {
    "count": 248,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggmix"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/sahirbhatnagar/ggmix",
  "_searchresults": 21,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggmix.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sahirbhatnagar/ggmix",
  "_realowner": "sahirbhatnagar",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2020-03-20"
    },
    {
      "version": "0.0.2",
      "date": "2021-04-13"
    }
  ],
  "_exports": [
    "gen_structured_model",
    "ggmix",
    "gic",
    "random.effects",
    "ranef"
  ],
  "_datasets": [
    {
      "name": "admixed",
      "title": "Simulated Dataset with 1D Geography",
      "object": "admixed",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "karim",
      "title": "Karim's Simulated Data",
      "object": "karim",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "admixed",
      "title": "Simulated Dataset with 1D Geography",
      "topics": [
        "admixed"
      ]
    },
    {
      "page": "gen_structured_model",
      "title": "Simulation Scenario from Bhatnagar et al. (2018+) ggmix paper",
      "topics": [
        "gen_structured_model"
      ]
    },
    {
      "page": "ggmix",
      "title": "Fit Linear Mixed Model with Lasso or Group Lasso Regularization",
      "topics": [
        "ggmix"
      ]
    },
    {
      "page": "ggmix_data_object",
      "title": "Constructor functions for the different ggmix objects",
      "topics": [
        "ggmix_data_object",
        "new_fullrank_K",
        "new_fullrank_kinship",
        "new_fullrank_UD",
        "new_lowrank_K",
        "new_lowrank_kinship",
        "new_lowrank_UD"
      ]
    },
    {
      "page": "gic",
      "title": "Generalised Information Criterion",
      "topics": [
        "gic",
        "gic.default",
        "gic.ggmix_fit"
      ]
    },
    {
      "page": "gr_eta_lasso_fullrank",
      "title": "Functions related to eta parameter used in optim and kkt checks",
      "topics": [
        "fn_eta_lasso_fullrank",
        "gr_eta_lasso_fullrank"
      ]
    },
    {
      "page": "karim",
      "title": "Karim's Simulated Data",
      "topics": [
        "karim"
      ]
    },
    {
      "page": "kkt_check",
      "title": "Check of KKT Conditions for Linear Mixed Model",
      "topics": [
        "grr_beta0",
        "grr_sigma2",
        "kkt_check"
      ]
    },
    {
      "page": "lambdalasso",
      "title": "Estimation of Lambda Sequence for Linear Mixed Model with Lasso Penalty",
      "topics": [
        "lambdalasso",
        "lambdalasso.default",
        "lambdalasso.fullrank"
      ]
    },
    {
      "page": "lmmlasso",
      "title": "Estimation of Linear Mixed Model with Lasso Penalty",
      "topics": [
        "lmmlasso",
        "lmmlasso.default",
        "lmmlasso.fullrank"
      ]
    },
    {
      "page": "logliklasso",
      "title": "Estimation of Log-likelihood for Linear Mixed Model with Lasso Penalty",
      "topics": [
        "logliklasso",
        "logliklasso.default",
        "logliklasso.fullrank"
      ]
    },
    {
      "page": "plot.ggmix_fit",
      "title": "Plot Method for 'ggmix_fit' object",
      "topics": [
        "plot.ggmix_fit",
        "plotCoef"
      ]
    },
    {
      "page": "plot.ggmix_gic",
      "title": "Plot the Generalised Information Criteria curve produced by 'gic'",
      "topics": [
        "plot.ggmix_gic",
        "plotGIC"
      ]
    },
    {
      "page": "predict.ggmix_fit",
      "title": "Make predictions from a 'ggmix_fit' object",
      "topics": [
        "coef.ggmix_fit",
        "predict.ggmix_fit"
      ]
    },
    {
      "page": "predict.ggmix_gic",
      "title": "Make predictions from a 'ggmix_gic' object",
      "topics": [
        "coef.ggmix_gic",
        "predict.ggmix_gic"
      ]
    },
    {
      "page": "print.ggmix_fit",
      "title": "Print Method for Objects of Class 'ggmix_fit'",
      "topics": [
        "print.ggmix_fit",
        "print.ggmix_gic"
      ]
    },
    {
      "page": "ranef",
      "title": "Extract Random Effects",
      "topics": [
        "random.effects",
        "random.effects.default",
        "ranef",
        "ranef.default",
        "ranef.ggmix_gic"
      ]
    },
    {
      "page": "sigma2lasso",
      "title": "Estimation of Sigma2 for Linear Mixed Model with Lasso Penalty",
      "topics": [
        "sigma2lasso",
        "sigma2lasso.default",
        "sigma2lasso.fullrank"
      ]
    }
  ],
  "_readme": "https://github.com/sahirbhatnagar/ggmix/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "MASS",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "alternative-kinship-input.Rmd",
      "filename": "alternative-kinship-input.html",
      "title": "Alternative Inputs for Population Structure",
      "author": "Sahir Rai Bhatnagar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The kinship argument",
        "The U and D arguments",
        "The K argument"
      ],
      "created": "2018-06-28 07:10:51",
      "modified": "2020-03-09 13:45:21",
      "commits": 2
    },
    {
      "source": "prior-annotation-weights.Rmd",
      "filename": "prior-annotation-weights.html",
      "title": "Incorporating Prior Annotation Weights",
      "author": "Sahir Rai Bhatnagar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting the Penalty Factor Argument"
      ],
      "created": "2018-06-28 07:10:51",
      "modified": "2020-03-09 13:45:21",
      "commits": 2
    },
    {
      "source": "introduction-to-ggmix.Rmd",
      "filename": "introduction-to-ggmix.html",
      "title": "Introduction to the ggmix package",
      "author": "Sahir Rai Bhatnagar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Installation",
        "Quick Start",
        "Fit the linear mixed model with Lasso Penalty",
        "Find the Optimal Value of the Tuning Parameter",
        "Get Coefficients Corresponding to Optimal Model",
        "Diagnostic Plots",
        "Observed vs. Predicted Response",
        "QQ-plots for Residuals and Random Effects",
        "Tukey-Anscombe Plot"
      ],
      "created": "2018-06-28 07:10:51",
      "modified": "2020-03-09 19:56:14",
      "commits": 4
    }
  ],
  "_score": 5.577491799837226,
  "_indexed": true,
  "_nocasepkg": "ggmix",
  "_universes": [
    "sahirbhatnagar"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-23T08:13:12.000Z",
      "distro": "noble",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "003e2c4a77a46f4a9079d2adc47952cfe28d4ece8f3733a1b943cab62596300a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-23T08:13:11.000Z",
      "distro": "noble",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "186bac18efb3f728408127e771c35494072e4954698c8e04016f8d1b775a7b1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-23T08:13:42.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "4afa5620eeabff39b2416e7b6aa00259501e8417cef5a8ac335c98039a89c442",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-23T08:12:58.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "be1a0ea3689d566124f6306d8599945b30fa7b207817d20e1d2275904401aaae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-05-23T08:13:09.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "a34b05523f06e8c5997c89349421765a38b1ff1f90a0debf931565400db34918",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-23T08:12:31.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "4a7969ef7d5d0065228f90cbcbb702e2a6cf237e516ad912b17b5fa94f7e9b0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-23T08:12:29.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "140b3f1bb3793959e1a4bf4f3a63f8fc7ba815303bade01d5639d3d542a3de5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-23T08:12:31.000Z",
      "commit": "eb1c8a71ddc8f7e450dfbab68e7c562eac0ed487",
      "fileid": "14d41027f0a8078a6e81e5ee5c59862fe3c159d786f3e661147e0677c6b169cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sahirbhatnagar/actions/runs/26327713033"
    }
  ]
}