DNA methylation biomarkers-based pan-cancer classifier: predictive modeling for cancer classification.
The 7 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › Models training and tuning ↔ 4_models_training.py, lines 49–99 · score 0.87 · multi layer perceptron, logistic regression, decision tree, random forest, model training, Bayes
- [2] § Results › Simple ML models can outperform more complex algorithms ↔ 4_models_training.py, lines 49–99 · score 0.70 · multi layer perceptron, logistic regression, Models Training, SVC, score
- [3] § Methods › Data characteristics – pancancer classifier ↔ config/api_config.py, the whole file · a weak match · score 0.67 · bone marrow, tumor grade, age, metastatic, platform, diagnosis
- [4] § Results › Applicability of pancancer classifier for non-invasive cancer detection ↔ config/api_config.py, the whole file · a weak match · score 0.60 · bone marrow, primary tumor, field, human, metastasis, diagnostics
- [5] § Methods › Data characteristics – pancancer classifier ↔ 1_collect_samples.py, lines 142–153 · score 0.56 · acute myeloid leukemia, diagnosis
- [6] § Methods › Anomaly detection ↔ 3_build_frames.py, lines 349–381 · score 0.51 · Local Outlier Factor, fitted, LOF, neighbors, training
- [7] § Results › Simple ML models can outperform more complex algorithms ↔ 4_models_training.py, lines 21–46 · score 0.50 · balanced accuracy, Model training, outer, folds, inner, BACC
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
Python · 106 lines · 3.4 KB · MIT · 3 matches
- import configparser
- from os.path import join, exists
- from collections import defaultdict
- import joblib
- import numpy as np
- import pandas as pd
- from prefect import flow, task
- from sklearn.model_selection import GridSearchCV
- from sklearn.model_selection import StratifiedGroupKFold
- from sklearn.metrics import balanced_accuracy_score
- from src.models import mlp, nb, knn, dct, ext, rf, lr, svc
- config = configparser.ConfigParser()
- config.read("config/config.ini")
- @task(log_prints=True)
- def evaluate(X, y, grouping_factor, model, p_grid) -> list:
- outer_cv = StratifiedGroupKFold(n_splits=5, shuffle=True, random_state=101)
- inner_cv = StratifiedGroupKFold(n_splits=3, shuffle=True, random_state=101)
- scoring = []
- for cnt, (train_index, test_index) in enumerate(
- outer_cv.split(X, y, grouping_factor)
- ):
- X_train, y_train = X.iloc[train_index], y.iloc[train_index]
- X_test, y_test = X.iloc[test_index], y.iloc[test_index]
- print(f"Fold {cnt} --> {X_train.shape} - {X_test.shape}")
- grid_search = GridSearchCV(
- model, p_grid, scoring="balanced_accuracy", cv=inner_cv, n_jobs=3
- )
- grid_search.fit(X_train, y_train, groups=grouping_factor.iloc[train_index])
- print(f"Fold {cnt} --> Best params = {grid_search.best_params_}")
- predicted = grid_search.predict(X_test)
- bacc = balanced_accuracy_score(y_test, predicted)
- print(f"Fold {cnt} --> BACC = {bacc:.2f}")
- scoring.append(bacc)
- print(f"Average BACC --> {np.mean(scoring):.2f} +- {np.std(scoring):.2f}")
- return scoring
- @flow(name="Train models", log_prints=True)
- def train_models(outcome: str, stats_output: str, mt: str):
- X_train = pd.read_parquet(
- join(config["DIRECTORY TREE"]["trainData"], "X_cleaned_reduced.parquet")
- )
- if mt in ["l", "g"]:
- print(f"Filtering for {mt} markers")
- X_train = X_train[[var for var in X_train.columns if var.endswith(mt)]]
- elif mt == "raw":
- print(f"Filtering for {mt} markers")
- X_train = X_train[[var for var in X_train.columns if (not var.endswith("l")) and (not var.endswith("g"))]]
- else:
- print(f"Using combined dataset")
- mt = "combined"
- print(f"Training using {X_train.shape}")
- y_train = pd.read_csv(
- join(config["DIRECTORY TREE"]["trainData"], "sample_sheet.csv")
- ).set_index("Sample_Name")
- y_train = y_train.loc[X_train.index, ["case_id", outcome]]
- grouping_factor = y_train.case_id
- y_train = y_train[outcome]
- models = [mlp, lr, nb, knn, dct, ext, rf, svc]
- names = [
- "Multi-layer Perceptron",
- "Logistic Regression",
- "Naive Bayes",
- "K-Neighbors",
- "Decision Tree",
- "Extra Trees",
- "Random Forest",
- "SVC",
- ]
- scoring = defaultdict(list)
- for model, name in zip(models, names):
- print(f"Model --> {name}")
- model, p_grid = model()
- print(f"Parameters grid --> {p_grid}")
- scores = evaluate(X_train, y_train, grouping_factor, model, p_grid)
- scoring[name].extend(scores)
- scoring = pd.DataFrame(scoring)
- scoring.to_csv(join(config["FILES"][stats_output], f"scoring_{mt}.csv"))
- if __name__ == "__main__":
- #train_models("Sample_Group", "models_stats_path", "raw")
- #train_models("Sample_Group", "models_stats_path", "l")
- #train_models("Sample_Group", "models_stats_path", "g")
- train_models("Sample_Group", "models_stats_path", "combined")
4_models_training.py at commit f9e1692, under MIT · at the source
Overview
- Independent Clinical Epigenetics Laboratory, Pomeranian Medical University in Szczecin,Szczecin, Poland
- Regional Center for Digital Medicine, Pomeranian Medical University in Szczecin,Aleja Powstańców Wielkopolskich 72, Szczecin, 71-899 Poland
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.
ClinicalEpigeneticsLaboratory/accs-brain-model
ea5171c569734cb34201bc7cd97717c251f9dc65, 30 July 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- bin/
CNVs.R , R, 63 lines - bin/
normalize.py , Python, 87 lines - bin/
preprocess.R , R, 44 lines - metadata.py, Python, 23 lines
- requirements.R, R, 9 lines
- sesame_cache.R, R, 2 lines
- LICENSE, License, 201 lines
- README.md, Text, 81 lines
ClinicalEpigeneticsLaboratory/accs-workflows
f9e1692e02b064f370e94b97fdf0de8bc1681c4d, 31 July 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
12 files
- 1_collect_samples.py, Python, 359 lines, 1 match
- 2_collect_data.py, Python, 159 lines
- 3_build_frames.py, Python, 464 lines, 1 match
- 4_models_training.py, Python, 106 lines, 3 matches
- config/
__init__.py , Python, 1 line - config/
api_config.py , Python, 75 lines, 2 matches - src/
__init__.py , Python, 1 line - src/
models.py , Python, 116 lines - src/
processing.py , Python, 138 lines - tests.py, Python, 120 lines
- LICENSE, License, 21 lines
- README.md, Text, 117 lines
Zenodo 19072004
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
12 files
- 1_collect_samples.py, Python, 359 lines
- 2_collect_data.py, Python, 159 lines
- 3_build_frames.py, Python, 464 lines
- 4_models_training.py, Python, 106 lines
- config/
__init__.py , Python, 1 line - config/
api_config.py , Python, 75 lines - src/
__init__.py , Python, 1 line - src/
models.py , Python, 116 lines - src/
processing.py , Python, 138 lines - tests.py, Python, 120 lines
- LICENSE, License, 21 lines
- README.md, Text, 117 lines
Zenodo 19071942
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
12 files
- 1_collect_samples.py, Python, 359 lines
- 2_collect_data.py, Python, 159 lines
- 3_build_frames.py, Python, 464 lines
- 4_models_training.py, Python, 106 lines
- config/
__init__.py , Python, 1 line - config/
api_config.py , Python, 75 lines - src/
__init__.py , Python, 1 line - src/
models.py , Python, 116 lines - src/
processing.py , Python, 138 lines - tests.py, Python, 120 lines
- LICENSE, License, 21 lines
- README.md, Text, 117 lines
The paper's code and data availability statement is in the Data section.
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:
- 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 36 scripts, each with its path and the digest of its content;
- 7 matches 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.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: ClinicalEpigeneticsLabor
atory/ , ClinicalEpigeneticsLaboraccs-brain-model atory/ , Zenodo 19072004accs-workflows
Read it in the paper: doi.org/10.1186/s13073-026-01650-w.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 5 keywords, 9 MeSH terms, 1 funder, 81 references.
Cite
This paper
Bińkowski, J., & Wojdacz, T. K. (2026). DNA methylation biomarkers-based pan-cancer classifier: predictive modeling for cancer classification. Genome medicine, 18(1), 66. https://
BibTeX
@article{binkowski2026dn
author = {Bińkowski, Jan and Wojdacz, Tomasz K.},
title = {{DNA methylation biomarkers-based pan-cancer classifier: predictive modeling for cancer classification}},
journal = {Genome medicine},
year = {2026},
month = may,
volume = {18},
number = {1},
pages = {66},
publisher = {BMC},
issn = {1756-994X},
doi = {10.1186/
url = {https://
pmid = {42152108},
pmcid = {PMC13185202}
}
RIS
TY - JOUR
AU - Bińkowski, Jan
AU - Wojdacz, Tomasz K.
TI - DNA methylation biomarkers-based pan-cancer classifier: predictive modeling for cancer classification
T2 - Genome medicine
J2 - Genome Med
PY - 2026
DA - 2026/
VL - 18
IS - 1
SP - 66
SN - 1756-994X
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "DNA methylation biomarkers-based pan-cancer classifier: predictive modeling for cancer classification",
"container-title": "Genome medicine",
"author": [
{
"family": "Bińkowski",
"given": "Jan"
},
{
"family": "Wojdacz",
"given": "Tomasz K."
}
],
"container-title-short":
"volume": "18",
"issue": "1",
"page": "66",
"DOI": "10.1186/
"PMID": "42152108",
"PMCID": "PMC13185202",
"ISSN": "1756-994X",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
19
]
]
}
}
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.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: randomForest, Plotly, ggplot2, 4 other tools, genetics / omics, other condition
- [2] 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 communicationsIn common: randomForest, ggplot2, genetics / omics, other condition, 3 references
- [3] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: randomForest, Plotly, ggplot2, 4 other tools
- [4] doi:10.1038/s41467-026-75723-0 [code]
- Spatial transcriptomics reveals distinct cell type dynamics following opioid dependence in female mice with the common human μ-opioid receptor variant Oprm1 A118G.Journal: Nature communicationsIn common: randomForest, ggplot2, scikit-learn, 3 other tools, genetics / omics, other condition
- [5] doi:10.1016/j.xcrm.2026.102682 [code]
- TET CpG sequence-context-specifi
c DNA demethylation shapes progression of IDH-mutant gliomas. Journal: Cell reports. MedicineIn common: ggplot2, pandas, NumPy, genetics / omics, other condition, 3 references - [6] doi:10.1016/j.isci.2026.115329 [code]
- Brain metastases converge on shared geometric architecture and transcriptomic landscape yet remain distinct from gliomas.Journal: iScienceIn common: ggplot2, scikit-learn, pandas, 2 other tools, clinical / translational, genetics / omics, other condition, 1 reference
- [7] doi:10.1038/s41514-026-00443-0 [code]
- Network-based discovery of regulatory drivers of cognitive decline in alzheimer's disease.Journal: npj agingIn common: Plotly, ggplot2, scikit-learn, 3 other tools, 1 reference
- [8] doi:10.7554/elife.103097 [code]
- Canonical neurodevelopmental trajectories of structural and functional manifolds.Journal: eLifeIn common: Plotly, ggplot2, scikit-learn, 3 other tools, 1 reference
- [9] doi:10.1038/s41467-026-71719-y [code]
- Brain functional-structural gradient coupling reflects development, behavior and genetic influences.Journal: Nature communicationsIn common: ggplot2, scikit-learn, pandas, 2 other tools, 2 references
- [10] doi:10.34133/csbj.0042 [code]
- Using Steady-State Visual Evoked Potentials to Characterize Wide-Ranging Retinopathy Linked to &
lt;i& gt;CRB1& lt;/ i& gt;: Implications for Clinical Trials. Journal: Computational and structural biotechnology journalIn common: Plotly, ggplot2, scikit-learn, 3 other tools, clinical / translational, other condition
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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 4 repositories of the authors' code, each at its verified commit and with its license, 36 scripts, and 7 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:6715b7daf2026701…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
