{
  "_id": "6a1c08ba1d7bb097a0a2c3f7",
  "Package": "sparseSEM",
  "Type": "Package",
  "Title": "Elastic Net Penalized Maximum Likelihood for Structural Equation\nModels with Network GPT Framework",
  "Version": "4.1",
  "Date": "2024-10-25",
  "Authors@R": "c(person(\"Anhui\", \"Huang\", role=c(\"aut\",\"ctb\", \"cre\" ), email=\"anhuihuang@gmail.com\"))",
  "Maintainer": "Anhui Huang <anhuihuang@gmail.com>",
  "Description": "Provides elastic net penalized maximum likelihood\nestimator for structural equation models (SEM). The package\nimplements `lasso` and `elastic net` (l1/l2) penalized SEM and\nestimates the model parameters with an efficient block\ncoordinate ascent algorithm that maximizes the penalized\nlikelihood of the SEM.  Hyperparameters are inferred from\ncross-validation (CV).  A Stability Selection (STS) function is\nalso available to provide accurate causal effect selection. The\nsoftware achieves high accuracy performance through a `Network\nGenerative Pre-trained Transformer` (Network GPT) Framework\nwith two steps: 1) pre-trains the model to generate a complete\n(fully connected) graph; and 2) uses the complete graph as the\ninitial state to fit the `elastic net` penalized SEM.",
  "License": "GPL",
  "Packaged": {
    "Date": "2026-05-31 10:06:25 UTC",
    "User": "root"
  },
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Author": "Anhui Huang [aut, ctb, cre]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-10-27 15:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/sparseSEM",
  "RemoteRef": "HEAD",
  "RemoteSha": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
  "MD5sum": "b68efccfec237f3ab264bea9395ee863",
  "_user": "cran",
  "_type": "src",
  "_file": "sparseSEM_4.1.tar.gz",
  "_fileid": "3b65b8b58f73981ea2623a628bf926d7e8e9f39ec71239931e6735ac9a04e3c9",
  "_filesize": 8098311,
  "_sha256": "3b65b8b58f73981ea2623a628bf926d7e8e9f39ec71239931e6735ac9a04e3c9",
  "_created": "2026-05-31T10:06:25.000Z",
  "_published": "2026-05-31T10:08:58.470Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78717470262,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7315845938"
    },
    {
      "job": 78717470268,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7315846086"
    },
    {
      "job": 78717470260,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7315845551"
    },
    {
      "job": 78717470269,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7315845014"
    },
    {
      "job": 78717281775,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315835018"
    },
    {
      "job": 78717470257,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315844565"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/sparseSEM",
  "_commit": {
    "id": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
    "author": "Anhui Huang <anhuihuang@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.1\n",
    "time": 1730043002
  },
  "_maintainer": {
    "name": "Anhui Huang",
    "email": "anhuihuang@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plot.matrix",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 610,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparseSEM"
  },
  "_searchresults": 20,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparseSEM.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "2.3",
      "date": "2014-08-26"
    },
    {
      "version": "2.5",
      "date": "2014-09-04"
    },
    {
      "version": "3.8",
      "date": "2023-04-21"
    },
    {
      "version": "3.8-1",
      "date": "2023-05-04"
    },
    {
      "version": "3.8-2",
      "date": "2023-06-11"
    },
    {
      "version": "4.0",
      "date": "2023-08-09"
    },
    {
      "version": "4.1",
      "date": "2024-10-27"
    }
  ],
  "_exports": [
    "elasticNetSEM",
    "elasticNetSEMcv",
    "elasticNetSEMpoint",
    "enSEM_stability_selection",
    "enSEM_stability_selection_parallel",
    "enSEM_STS",
    "lassoSEM"
  ],
  "_datasets": [
    {
      "name": "B",
      "title": "True network edges",
      "object": "B",
      "file": "B.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "Missing",
      "title": "Missing Network Node dependent variable data",
      "object": "Missing",
      "file": "Missing.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "X",
      "title": "Genotype matrix",
      "object": "X",
      "file": "X.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "V35",
        "V36",
        "V37",
        "V38",
        "V39",
        "V40",
        "V41",
        "V42",
        "V43",
        "V44",
        "V45",
        "V46",
        "V47",
        "V48",
        "V49",
        "V50",
        "V51",
        "V52",
        "V53",
        "V54",
        "V55",
        "V56",
        "V57",
        "V58",
        "V59",
        "V60",
        "V61",
        "V62",
        "V63",
        "V64",
        "V65",
        "V66",
        "V67",
        "V68",
        "V69",
        "V70",
        "V71",
        "V72",
        "V73",
        "V74",
        "V75",
        "V76",
        "V77",
        "V78",
        "V79",
        "V80",
        "V81",
        "V82",
        "V83",
        "V84",
        "V85",
        "V86",
        "V87",
        "V88",
        "V89",
        "V90",
        "V91",
        "V92",
        "V93",
        "V94",
        "V95",
        "V96",
        "V97",
        "V98",
        "V99",
        "V100",
        "V101",
        "V102",
        "V103",
        "V104",
        "V105",
        "V106",
        "V107",
        "V108",
        "V109",
        "V110",
        "V111",
        "V112",
        "V113",
        "V114",
        "V115",
        "V116",
        "V117",
        "V118",
        "V119",
        "V120",
        "V121",
        "V122",
        "V123",
        "V124",
        "V125",
        "V126",
        "V127",
        "V128",
        "V129",
        "V130",
        "V131",
        "V132",
        "V133",
        "V134",
        "V135",
        "V136",
        "V137",
        "V138",
        "V139",
        "V140",
        "V141",
        "V142",
        "V143",
        "V144",
        "V145",
        "V146",
        "V147",
        "V148",
        "V149",
        "V150",
        "V151",
        "V152",
        "V153",
        "V154",
        "V155",
        "V156",
        "V157",
        "V158",
        "V159",
        "V160",
        "V161",
        "V162",
        "V163",
        "V164",
        "V165",
        "V166",
        "V167",
        "V168",
        "V169",
        "V170",
        "V171",
        "V172",
        "V173",
        "V174",
        "V175",
        "V176",
        "V177",
        "V178",
        "V179",
        "V180",
        "V181",
        "V182",
        "V183",
        "V184",
        "V185",
        "V186",
        "V187",
        "V188",
        "V189",
        "V190",
        "V191",
        "V192",
        "V193",
        "V194",
        "V195",
        "V196",
        "V197",
        "V198",
        "V199",
        "V200"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "X",
      "title": "Genotype matrix",
      "object": "yeast",
      "file": "yeast.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 3380,
      "table": true,
      "tojson": true
    },
    {
      "name": "Y",
      "title": "Gene expression matrix",
      "object": "Y",
      "file": "Y.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "V35",
        "V36",
        "V37",
        "V38",
        "V39",
        "V40",
        "V41",
        "V42",
        "V43",
        "V44",
        "V45",
        "V46",
        "V47",
        "V48",
        "V49",
        "V50",
        "V51",
        "V52",
        "V53",
        "V54",
        "V55",
        "V56",
        "V57",
        "V58",
        "V59",
        "V60",
        "V61",
        "V62",
        "V63",
        "V64",
        "V65",
        "V66",
        "V67",
        "V68",
        "V69",
        "V70",
        "V71",
        "V72",
        "V73",
        "V74",
        "V75",
        "V76",
        "V77",
        "V78",
        "V79",
        "V80",
        "V81",
        "V82",
        "V83",
        "V84",
        "V85",
        "V86",
        "V87",
        "V88",
        "V89",
        "V90",
        "V91",
        "V92",
        "V93",
        "V94",
        "V95",
        "V96",
        "V97",
        "V98",
        "V99",
        "V100",
        "V101",
        "V102",
        "V103",
        "V104",
        "V105",
        "V106",
        "V107",
        "V108",
        "V109",
        "V110",
        "V111",
        "V112",
        "V113",
        "V114",
        "V115",
        "V116",
        "V117",
        "V118",
        "V119",
        "V120",
        "V121",
        "V122",
        "V123",
        "V124",
        "V125",
        "V126",
        "V127",
        "V128",
        "V129",
        "V130",
        "V131",
        "V132",
        "V133",
        "V134",
        "V135",
        "V136",
        "V137",
        "V138",
        "V139",
        "V140",
        "V141",
        "V142",
        "V143",
        "V144",
        "V145",
        "V146",
        "V147",
        "V148",
        "V149",
        "V150",
        "V151",
        "V152",
        "V153",
        "V154",
        "V155",
        "V156",
        "V157",
        "V158",
        "V159",
        "V160",
        "V161",
        "V162",
        "V163",
        "V164",
        "V165",
        "V166",
        "V167",
        "V168",
        "V169",
        "V170",
        "V171",
        "V172",
        "V173",
        "V174",
        "V175",
        "V176",
        "V177",
        "V178",
        "V179",
        "V180",
        "V181",
        "V182",
        "V183",
        "V184",
        "V185",
        "V186",
        "V187",
        "V188",
        "V189",
        "V190",
        "V191",
        "V192",
        "V193",
        "V194",
        "V195",
        "V196",
        "V197",
        "V198",
        "V199",
        "V200"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "Y",
      "title": "Gene expression matrix",
      "object": "yeast",
      "file": "yeast.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 3380,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "sparseSEM-package",
      "title": "sparseSEM: Elastic Net Penalized Maximum Likelihood for Structural Equation Models with Network GPT Framework",
      "concept": [
        "structural equation models",
        "Network GPT"
      ],
      "topics": [
        "sparseSEM-package",
        "sparseSEM"
      ]
    },
    {
      "page": "B",
      "title": "True network edges",
      "topics": [
        "B"
      ]
    },
    {
      "page": "elasticNetSEM",
      "title": "The Elastic Net penalized SEM with Network GPT Framework",
      "topics": [
        "elasticNetSEM"
      ]
    },
    {
      "page": "elasticNetSEMcv",
      "title": "The Elastic Net penalty for SEM with user supplied (alphas, lambdas) for grid search",
      "topics": [
        "elasticNetSEMcv"
      ]
    },
    {
      "page": "elasticNetSEMpoint",
      "title": "The Elastic Net penalty for SEM",
      "topics": [
        "elasticNetSEMpoint"
      ]
    },
    {
      "page": "enSEM_stability_selection",
      "title": "Stability Selection for the Elastic Net penalized SEM",
      "topics": [
        "enSEM_stability_selection"
      ]
    },
    {
      "page": "enSEM_stability_selection_parallel",
      "title": "Parallel Stability Selection for the Elastic Net penalized SEM",
      "topics": [
        "enSEM_stability_selection_parallel"
      ]
    },
    {
      "page": "lassoSEM",
      "title": "The Lasso penalty for SEM",
      "topics": [
        "lassoSEM"
      ]
    },
    {
      "page": "Missing",
      "title": "Missing Network Node dependent variable data",
      "topics": [
        "Missing"
      ]
    },
    {
      "page": "X",
      "title": "Genotype matrix",
      "topics": [
        "X"
      ]
    },
    {
      "page": "Y",
      "title": "Gene expression matrix",
      "topics": [
        "Y"
      ]
    },
    {
      "page": "yeast",
      "title": "Yeast cis-QTL Gene Regulatory Network Dataset",
      "topics": [
        "yeast cisQTL GRN"
      ]
    }
  ],
  "_readme": "https://github.com/cran/sparseSEM/raw/HEAD/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_vignettes": [
    {
      "source": "sparseSEM.Rmd",
      "filename": "sparseSEM.html",
      "title": "Elastic Net Enabled Sparse-Aware Maximum Likelihood for Structural Equation Models in Inferring Gene Regulatory Networks",
      "author": "Anhui Huang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "Key Words:",
        "Introduction",
        "Methods",
        "Sparse SEM model for gene regulatory networks",
        "Structural equation models with adaptive elastic net penalty (SEM-EN)",
        "Software implementation",
        "Simulation study and real data analysis",
        "Results",
        "Simulation study",
        "Inference of the yeast GRN",
        "Discussion",
        "References"
      ],
      "created": "2023-04-21 11:40:22",
      "modified": "2023-08-09 10:33:47",
      "commits": 3
    },
    {
      "source": "Network-Inference-via-sparseSEM.Rmd",
      "filename": "Network-Inference-via-sparseSEM.html",
      "title": "Elastic Net Penalized Structural Equation Models",
      "author": "Anhui Huang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "simulated network",
        "Yeast Gene Regulatory Network (GRN)",
        "Quick Start",
        "Cross Validation (CV)",
        "Stability Selection (STS)",
        "Yeast GRN",
        "References"
      ],
      "created": "2023-06-11 18:30:05",
      "modified": "2023-08-09 10:33:47",
      "commits": 2
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "sparsesem",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-05-31T10:08:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
      "fileid": "07e9af351256412e8e374c2f4aec15893e704b70adddedd08e43a309a66017d8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-05-31T10:08:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
      "fileid": "ab9b1265adcc828fa2d33b032e40ff596c9ce955ad8361c49de1ea7cef991acf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-05-31T10:08:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
      "fileid": "6bb835e1ade21c24a5533ace1694abf15f98f58b0b5ad8c8afa49e4e62b4fd97",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-05-31T10:08:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
      "fileid": "aff2f2885c4691a90ab16d9a40cc687418341452d5ddb81bcd2b39e4084c4d0c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1",
      "date": "2026-05-31T10:08:22.000Z",
      "arch": "emscripten",
      "commit": "d46e74d47a7fc4c801b0016e95ed45db8c808bc3",
      "fileid": "f58aeb12300a55702084c452446f450ee97f48d8a5fc186dbbc85125941d5b1c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26709613825"
    }
  ]
}