OSCR

Nonlinear kernel-based high-dimensional inference for set-based genetic association studies.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match
  1. [1] § Results › Results from real data analyses ↔ lasso_model_omnibus.R, lines 1–24 · score 0.52 · de sparsified LASSO, MinP, omnibus, ART

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

R · 246 lines · 6.5 KB · MIT · 1 match

  1. ## lasso_model_omnibus.R
  2. ##
  3. ## For a given design matrix X_design and response Y, this function:
  4. ## 1) runs de-sparsified lasso (lasso.proj),
  5. ## 2) computes group-wise MinP (Westfall–Young) and iART-A statistics,
  6. ## 3) combines them via ACATO to obtain omnibus p-values for Group 1 and Group 2.
  7. ##
  8. ## Additional safeguards:
  9. ## - If ncol(X_design) < 3, it skips lasso.proj() to avoid glmnet errors
  10. ## (glmnet requires at least 2 predictors in nodewise regressions).
  11. ## - Parallel settings are automatically adjusted depending on the OS
  12. ## (Windows is forced to run serially).
  13. get_repo_root <- function() {
  14. # 1) If using RStudio project, assume working dir is project root
  15. if (file.exists("hdi_lasso")) return(".")
  16. # 2) Otherwise, try location of this file (when sourced)
  17. this_file <- tryCatch(normalizePath(sys.frames()[[1]]$ofile), error = function(e) NA)
  18. if (!is.na(this_file)) {
  19. cand <- dirname(this_file)
  20. if (file.exists(file.path(cand, "hdi_lasso"))) return(cand)
  21. }
  22. # 3) fallback: current dir
  23. return(".")
  24. }
  25. repo_root <- get_repo_root()
  26. hdi_dir <- file.path(repo_root, "hdi_lasso")
  27. hdi_files <- c(
  28. "ART.A.R",
  29. "lasso.proj.R",
  30. "prepare.data.R",
  31. "calculate.Z.R",
  32. "score.nodewiselasso.R",
  33. "nodewise.getlambdasequence.R",
  34. "cv.nodewise.bestlambda.R",
  35. "cv.nodewise.err.unitfunction.R",
  36. "cv.nodewise.totalerr.R",
  37. "score.getZforlambda.R",
  38. "score.getZforlambda.unitfunction.R",
  39. "score.rescale.R",
  40. "initial.estimator.R",
  41. "do.initial.fit.R",
  42. "despars.lasso.est.R",
  43. "est.stderr.despars.lasso.R",
  44. "preprocess.group.testing.R",
  45. "get.clusterGroupTest.function.R",
  46. "sandwich.var.est.stderr.R",
  47. "improve.lambda.pick.R",
  48. "calcM.R",
  49. "calcMforcolumn.R",
  50. "p.adjust.wy.R",
  51. "ridge.proj.R"
  52. )
  53. for (f in hdi_files) {
  54. fp <- file.path(hdi_dir, f)
  55. if (!file.exists(fp)) stop("Missing HDI-Lasso file: ", fp)
  56. source(fp)
  57. }
  58. lasso_model_omnibus <- function(
  59. X_design,
  60. Y,
  61. n_pc_g1,
  62. use_parallel = TRUE, # allow parallelization on non-Windows systems
  63. ncores = getOption("mc.cores", 2L)
  64. ) {
  65. p_one <- 1.0
  66. ## Case 1: empty design matrix
  67. if (is.null(X_design) || ncol(X_design) == 0L) {
  68. return(list(
  69. fit = NULL,
  70. PG1 = p_one,
  71. PG2 = p_one,
  72. P_ART1 = p_one,
  73. P_ART2 = p_one,
  74. Omnibus1 = p_one,
  75. Omnibus2 = p_one
  76. ))
  77. }
  78. ## Case 2: too few columns (< 3), safeguard against glmnet errors
  79. if (ncol(X_design) < 3L) {
  80. warning("X_design has less than 3 columns; skipping lasso.proj and returning p=1.")
  81. return(list(
  82. fit = NULL,
  83. PG1 = p_one,
  84. PG2 = p_one,
  85. P_ART1 = p_one,
  86. P_ART2 = p_one,
  87. Omnibus1 = p_one,
  88. Omnibus2 = p_one
  89. ))
  90. }
  91. ## Adjust parallel settings based on OS and available cores
  92. os_type <- .Platform$OS.type
  93. if (!use_parallel || os_type == "windows") {
  94. # On Windows or when parallelization is disabled, force serial execution
  95. use_parallel <- FALSE
  96. ncores <- 1L
  97. } else {
  98. # On non-Windows systems (Linux/macOS), check the actual number of cores
  99. if (!requireNamespace("parallel", quietly = TRUE)) {
  100. use_parallel <- FALSE
  101. ncores <- 1L
  102. } else {
  103. max_cores <- parallel::detectCores(logical = TRUE)
  104. if (is.na(max_cores) || max_cores < 2L) {
  105. use_parallel <- FALSE
  106. ncores <- 1L
  107. } else {
  108. ncores <- min(as.integer(ncores), max_cores)
  109. if (ncores <= 1L) {
  110. use_parallel <- FALSE
  111. ncores <- 1L
  112. }
  113. }
  114. }
  115. }
  116. ## Run de-sparsified lasso
  117. X_design <- scale(X_design)
  118. fit <- lasso.proj(
  119. x = as.matrix(X_design),
  120. y = Y,
  121. multiplecorr.method = "WY",
  122. parallel = use_parallel,
  123. ncores = ncores,
  124. robust = TRUE
  125. )
  126. pvals <- fit$pval
  127. cov <- fit$beta.cov
  128. L_tot <- length(pvals)
  129. if (L_tot == 0L) {
  130. return(list(
  131. fit = fit,
  132. PG1 = p_one,
  133. PG2 = p_one,
  134. P_ART1 = p_one,
  135. P_ART2 = p_one,
  136. Omnibus1 = p_one,
  137. Omnibus2 = p_one
  138. ))
  139. }
  140. ## Split into Group 1 and Group 2
  141. L1 <- as.integer(n_pc_g1)
  142. if (is.na(L1) || L1 < 0L) {
  143. L1 <- 0L
  144. }
  145. if (L1 > L_tot) {
  146. L1 <- L_tot
  147. }
  148. L2 <- L_tot - L1
  149. ## ===================== MinP (Westfall–Young) =====================
  150. ## group 1
  151. if (L1 == 0L) {
  152. PG1 <- p_one
  153. } else {
  154. idx1 <- seq_len(L1)
  155. cov1 <- cov[idx1, idx1, drop = FALSE]
  156. PG1 <- min(p.adjust.wy(cov = cov1, pval = pvals[idx1]))
  157. }
  158. ## group 2
  159. if (L2 == 0L) {
  160. PG2 <- p_one
  161. } else {
  162. if (L1 == 0L) {
  163. idx2 <- seq_len(L_tot)
  164. } else {
  165. idx2 <- seq.int(L1 + 1L, L_tot)
  166. }
  167. cov2 <- cov[idx2, idx2, drop = FALSE]
  168. P2 <- pvals[idx2]
  169. PG2 <- min(p.adjust.wy(cov = cov2, pval = P2))
  170. }
  171. ## ===================== iART-A (within-group) + ACATO =====================
  172. ## group 1
  173. if (L1 == 0L) {
  174. P_ART1 <- p_one
  175. } else if (L1 == 1L) {
  176. P_ART1 <- pvals[1L]
  177. } else {
  178. P1 <- sort(pvals[seq_len(L1)])
  179. k1 <- 2L
  180. k2 <- L1
  181. P_arta_1 <- numeric(length = k2 - k1 + 1L)
  182. for (k in k1:k2) {
  183. P_arta_1[k - k1 + 1L] <- ART.A(P1, k = k, L = L1)[1L]
  184. }
  185. P_ART1 <- ACATO(P_arta_1)
  186. P_ART1 <- ifelse(P_ART1 == 1, 1 - 1 / (L1 - 1L), P_ART1)
  187. }
  188. ## group 2
  189. if (L2 == 0L) {
  190. P_ART2 <- p_one
  191. } else if (L2 == 1L) {
  192. if (L1 == 0L) {
  193. P_ART2 <- pvals[1L]
  194. } else {
  195. P_ART2 <- pvals[L1 + 1L]
  196. }
  197. } else {
  198. if (L1 == 0L) {
  199. idx2 <- seq_len(L_tot)
  200. } else {
  201. idx2 <- seq.int(L1 + 1L, L_tot)
  202. }
  203. P2 <- sort(pvals[idx2])
  204. L2_eff <- length(P2)
  205. k1 <- 2L
  206. k2 <- L2_eff
  207. P_arta_2 <- numeric(length = k2 - k1 + 1L)
  208. for (k in k1:k2) {
  209. P_arta_2[k - k1 + 1L] <- ART.A(P2, k = k, L = L2_eff)[1L]
  210. }
  211. P_ART2 <- ACATO(P_arta_2)
  212. P_ART2 <- ifelse(P_ART2 == 1, 1 - 1 / (L2_eff - 1L), P_ART2)
  213. }
  214. ## ===================== Omnibus = ACATO(MinP, iART-A) =====================
  215. Omnibus1 <- ACATO(c(PG1, P_ART1))
  216. Omnibus2 <- ACATO(c(PG2, P_ART2))
  217. list(
  218. fit = fit,
  219. PG1 = PG1,
  220. PG2 = PG2,
  221. P_ART1 = P_ART1,
  222. P_ART2 = P_ART2,
  223. Omnibus1 = Omnibus1,
  224. Omnibus2 = Omnibus2
  225. )
  226. }

lasso_model_omnibus.R at commit efe6272, under MIT · at the source

Overview

Authors: Zechen Zhang1,2,3, Hui Yang1,2,3, Meilin Zhu1, Ran Guo1, Fuzhao Chen1, Hui Dong4, Yuehua Cui5, Haitao Yang1,2,3
  1. Division of Health Statistics, School of Public Health, Hebei Medical University, 361 East Zhongshan Road, Shijiazhuang, Hebei 050017, P.R. China
  2. Hebei Key Laboratory of Environment and Human Health, School of Public Health, Hebei Medical University, 361 East Zhongshan Road, Shijiazhuang, Hebei 050017, P.R. China
  3. Hebei Key Laboratory of Forensic Medicine, School of Forensic Medicine, Hebei Medical University, 361 East Zhongshan Road, Shijiazhuang, Hebei 050017, P.R. China
  4. Department of Neurology, Second Hospital of Hebei Medical University, 215 West Heping Road, Shijiazhuang, Hebei 050000, P.R. China
  5. Department of Statistics and Probability, Michigan State University, 619 Red Cedar Road, East Lansing, MI 48824, United States
Journal: Briefings in bioinformatics, volume 27, issue 3, article bbag275
Dates: received 13 January 2026; accepted 4 May 2026; published online 27 May 2026; in print May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/bib/bbag275 · PMID 42202283 · PMCID PMC13215594 · OpenAlex W7162493287
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: genetics / omics (modality), human (organism), Alzheimer's / dementia (population), methods / tools (subfield)
Keywords: kernel method, nonlinear high-dimensional inference, P-value combination, omnibus test, SNP–set association
MeSH: Alzheimer Disease*, Genetic Association Studies*, Genome-Wide Association Study*, Models, Genetic*, Algorithms, Computer Simulation, Humans, Nonlinear Dynamics, Polymorphism, Single Nucleotide, Principal Component Analysis (* major topic)
Topic: Genetic Associations and Epidemiology (Genetics, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: Medical Science Research Projects of Hebei (20200856, 20260608); the Science and Technology Program of Hebei Province (246W7703D, 252W7713D); National Natural Science Foundation of China (81872717); Hebei Key Laboratory of Forensic Medicine (JYFY 23ZR013); Education Department of Hebei Province (ZD2018022); Natural Science Foundation of Hebei Province (H2019206558)
Citations: not cited yet (Europe PMC); 63 references in the paper

Abstract

Nonlinear genetic architectures, including epistasis and threshold effects, are increasingly recognized as contributors to complex disease risk, yet most existing SNP-set association tests rely on linear modeling assumptions, resulting in reduced power and unstable inference when genetic effects are nonlinear or heterogeneously distributed across variants. To address this limitation, we propose a nonlinear high-dimensional inference framework for set-based genetic association analysis that integrates scalable kernel representations with valid statistical inference. The framework combines distance correlation-based sure independence screening to reduce ultra-high dimensional predictors, kernel principal component analysis with Nyström approximation for nonlinear feature extraction, and de-sparsified LASSO to enable asymptotically valid hypothesis testing in high dimensions, together with a two-stage omnibus testing strategy that adaptively aggregates evidence across complementary signal models. Extensive simulation studies demonstrate that the proposed method maintains well-calibrated Type I error and consistently achieves higher power than established set-based approaches, including Sequence Kernel Association Test and adaptive Sum of Powered Score test, particularly under nonlinear and heterogeneous genetic effect scenarios, while remaining competitive in linear settings. Application to Alzheimer’s Disease Neuroimaging Initiative data identifies gene-level associations with brain regional volumes that converge on neuronal excitability, calcium signaling, and cytoskeletal regulation, biological processes centrally implicated in neurodegeneration. Together, this work provides a robust and scalable framework for nonlinear set-based inference in genome-wide studies, expanding the analytical toolbox for dissecting complex genetic contributions to disease.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

zhangzechen123/NL-HSIM

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: efe6272c8aae181be0ee1870aaf715c1822c426c, 27 April 2026
Languages: R (38), Shell (1)
Size: 48 files, 39 scripts
Software Heritage: not archived
Found in: “Software availability”
Holds: README, license file, continuous integration
Not found: CITATION.cff, environment file, tests, documentation
Tools: caret (1 file), pheatmap (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
41 files

Software availability

The software implementation of the proposed NL-HSIM(O) method, including all scripts required to reproduce the analyses, is publicly available at https://github.com/zhangzechen123/NL-HSIM.

Reproduced under the paper's license (CC BY), from the paper cited above.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 39 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability

The clinical data used in this study were obtained from the ADNI database (https://adni.loni.usc.edu/). Access to ADNI data is available to qualified researchers upon application and approval by the ADNI Data Sharing and Publications Committee. The simulation data analyzed in this study can be generated using the procedures and code provided by the authors.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 5 keywords, 10 MeSH terms, 6 funders, 63 references.

Cite

This paper

Zhang, Z., Yang, H., Zhu, M., Guo, R., Chen, F., Dong, H., Cui, Y., & Yang, H. (2026). Nonlinear kernel-based high-dimensional inference for set-based genetic association studies. Briefings in bioinformatics, 27(3), bbag275. https://doi.org/10.1093/bib/bbag275

BibTeX

@article{zhang2026nonlinear,
author = {Zhang, Zechen and Yang, Hui and Zhu, Meilin and Guo, Ran and Chen, Fuzhao and Dong, Hui and Cui, Yuehua and Yang, Haitao},
title = {{Nonlinear kernel-based high-dimensional inference for set-based genetic association studies}},
journal = {Briefings in bioinformatics},
year = {2026},
month = may,
volume = {27},
number = {3},
pages = {bbag275},
publisher = {Oxford University Press},
issn = {1467-5463},
doi = {10.1093/bib/bbag275},
url = {https://doi.org/10.1093/bib/bbag275},
pmid = {42202283},
pmcid = {PMC13215594}
}

RIS

TY - JOUR
AU - Zhang, Zechen
AU - Yang, Hui
AU - Zhu, Meilin
AU - Guo, Ran
AU - Chen, Fuzhao
AU - Dong, Hui
AU - Cui, Yuehua
AU - Yang, Haitao
TI - Nonlinear kernel-based high-dimensional inference for set-based genetic association studies
T2 - Briefings in bioinformatics
J2 - Brief Bioinform
PY - 2026
DA - 2026/05/01
VL - 27
IS - 3
SP - bbag275
SN - 1467-5463
PB - Oxford University Press
DO - 10.1093/bib/bbag275
UR - https://doi.org/10.1093/bib/bbag275
LA - en
ER -

CSL-JSON

{
"id": "10.1093/bib/bbag275",
"type": "article-journal",
"title": "Nonlinear kernel-based high-dimensional inference for set-based genetic association studies",
"container-title": "Briefings in bioinformatics",
"author": [
{
"family": "Zhang",
"given": "Zechen"
},
{
"family": "Yang",
"given": "Hui"
},
{
"family": "Zhu",
"given": "Meilin"
},
{
"family": "Guo",
"given": "Ran"
},
{
"family": "Chen",
"given": "Fuzhao"
},
{
"family": "Dong",
"given": "Hui"
},
{
"family": "Cui",
"given": "Yuehua"
},
{
"family": "Yang",
"given": "Haitao"
}
],
"container-title-short": "Brief Bioinform",
"volume": "27",
"issue": "3",
"page": "bbag275",
"DOI": "10.1093/bib/bbag275",
"PMID": "42202283",
"PMCID": "PMC13215594",
"ISSN": "1467-5463",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/bib/bbag275",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41588-026-02646-3 [code]
Co-expression-based models improve eQTL predictions for transcriptome-wide association studies and highlight new schizophrenia-associated genes.
Journal: Nature genetics
In common: caret, pheatmap, genetics / omics, 1 reference
[2] doi:10.1038/s41467-026-73262-2 [code]
Robust but independent sex differences in human brain function, structure, and behavior.
Journal: Nature communications
In common: caret, pheatmap, 1 reference
[3] doi:10.1038/s41597-026-07193-4 [code]
A single-nucleus RNA-seq dataset of the colon in Pink1-deficient and wild-type mice.
Journal: Scientific data
In common: caret, pheatmap, methods / tools, genetics / omics
[4] doi:10.1080/20002297.2026.2705667 [code]
Oral microbiota dysbiosis related to the cortical thinning and cognitive impairment in cerebral small vessel disease.
Journal: Journal of oral microbiology
In common: caret, pheatmap, Alzheimer's / dementia
[5] doi:10.1093/neuonc/noag128 [code]
Spatially-resolved single-cell imaging of melanoma brain metastases identifies localized immune patterns predictive of immune checkpoint blockade response.
Journal: Neuro-oncology
In common: caret, pheatmap, genetics / omics
[6] doi:10.1038/s41467-026-77170-3 [code]
DNA methylation profiling identifies long-range epigenetic silencing of clustered protocadherins as a key determinant of meningioma progression.
Journal: Nature communications
In common: caret, pheatmap, genetics / omics
[7] doi:10.3390/ijms27156925 [code]
XGBoost-SHAP Interpretable Modeling Identifies and Validates an Eight-Gene Biomarker for Hepatic Encephalopathy Risk Prediction in Cirrhosis.
Journal: International journal of molecular sciences
In common: caret, pheatmap, genetics / omics
[8] doi:10.7717/peerj.21426 [code]
Integrated transcriptomic identification and validation reveal key autophagy-associated biomarkers in sleep deprivation.
Journal: PeerJ
In common: caret, pheatmap, genetics / omics
[9] doi:10.3390/ijms27104466 [code]
Uncovering the Key Circuit FOSL2/FOS/EGR3/EGR1, Contributing to the Hyperexcitability of Excitatory Neurons in the Epileptic Temporal Cortex and Hippocampus.
Journal: International journal of molecular sciences
In common: caret, pheatmap, genetics / omics
[10] doi:10.1038/s42003-026-10282-0 [code]
Genetic risk of Alzheimer's disease is associated with loss of brain network segregation in midlife.
Journal: Communications biology
In common: Alzheimer's / dementia, genetics / omics, 2 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.