OSCR

Long-term exposure to polystyrene microplastics exacerbates seizure symptoms via lipid metabolic disruption and ferroptosis: insights from multi-omics analyses.

Code ↔ Paper

2 matches 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 2 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Results › Microplastic exposure induces lipid metabolic disturbance, triggering ferroptosis and exacerbating seizure severity ↔ Machine learning.py, lines 36–47 · score 0.68 · logistic regression, Gradient Boosting, machine learning, probability, models
  2. [2] § Results › Microplastic exposure induces lipid metabolic disturbance, triggering ferroptosis and exacerbating seizure severity ↔ Brouta feacture selection.R, the whole file · a weak match · score 0.57 · Boruta algorithm, feature selection, clinical, Width

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 · 243 lines · 7.9 KB · no license · 1 match

  1. # Import required libraries
  2. import os
  3. import pandas as pd
  4. import numpy as np
  5. import xgboost as xgb
  6. import matplotlib.pyplot as plt
  7. from sklearn.linear_model import LogisticRegression
  8. from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier, AdaBoostClassifier
  9. from sklearn.neighbors import KNeighborsClassifier
  10. from sklearn.neural_network import MLPClassifier
  11. from sklearn.tree import DecisionTreeClassifier
  12. from sklearn.svm import SVC
  13. from sklearn.metrics import roc_auc_score, accuracy_score, roc_curve, precision_recall_curve, auc
  14. from sklearn.preprocessing import OneHotEncoder, StandardScaler
  15. from sklearn.compose import ColumnTransformer
  16. from sklearn.pipeline import Pipeline
  17. from sklearn.impute import SimpleImputer
  18. # Set working directory and read data
  19. os.chdir("Your own path")
  20. data = pd.read_csv("Your own CSV")
  21. target_column = 'Group'
  22. data[target_column] = data[target_column].astype('category')
  23. # Split features and target
  24. X = data.drop(columns=target_column)
  25. y = data[target_column]
  26. # Define preprocessor for numerical features
  27. preprocessor = ColumnTransformer(
  28. transformers=[
  29. ('num', SimpleImputer(strategy='median'), X.columns)
  30. ]
  31. )
  32. # Define dictionary of models to be evaluated
  33. models = {
  34. 'Logistic Regression': LogisticRegression(max_iter=10000, solver='liblinear'),
  35. 'Random Forest': RandomForestClassifier(random_state=121),
  36. 'AdaBoost': AdaBoostClassifier(random_state=121),
  37. 'GradientBoosting': GradientBoostingClassifier(random_state=121),
  38. 'XGBoost': xgb.XGBClassifier(use_label_encoder=False, eval_metric='logloss', seed=121),
  39. 'KNN': KNeighborsClassifier(),
  40. 'MLP': MLPClassifier(max_iter=2000, random_state=121),
  41. 'Decision Tree': DecisionTreeClassifier(random_state=121),
  42. 'SVM': SVC(probability=True, random_state=121)
  43. }
  44. # Set color cycle for plotting
  45. colors = plt.cm.Set3(np.linspace(0, 1, len(models)))
  46. # Initialize dictionaries to store results and predictions
  47. results = {}
  48. predictions = {}
  49. # Train models and collect predictions
  50. for (name, model), color in zip(models.items(), colors):
  51. # Create pipeline with preprocessing and model
  52. pipeline = Pipeline(steps=[('preprocessor', preprocessor),
  53. ('scaler', StandardScaler()),
  54. ('classifier', model)])
  55. # Fit model and get predictions
  56. pipeline.fit(X, y)
  57. y_pred = pipeline.predict_proba(X)[:, 1]
  58. predictions[name] = y_pred
  59. # Calculate performance metrics
  60. results[name] = {
  61. 'auc': roc_auc_score(y, y_pred),
  62. 'acc': accuracy_score(y, pipeline.predict(X))
  63. }
  64. # Plot ROC curve
  65. plt.figure(figsize=(10, 8))
  66. for (name, y_pred), color in zip(predictions.items(), colors):
  67. fpr, tpr, _ = roc_curve(y, y_pred)
  68. roc_auc = auc(fpr, tpr)
  69. plt.plot(fpr, tpr, color=color, label=f'{name} (AUC = {roc_auc:.2f})')
  70. plt.plot([0, 1], [0, 1], 'k--')
  71. plt.xlim([0.0, 1.0])
  72. plt.ylim([0.0, 1.05])
  73. plt.xlabel('False Positive Rate')
  74. plt.ylabel('True Positive Rate')
  75. plt.title('ROC Curve')
  76. plt.legend(loc='lower right')
  77. plt.grid(True)
  78. plt.show()
  79. # Plot Precision-Recall curve
  80. plt.figure(figsize=(10, 8))
  81. for (name, y_pred), color in zip(predictions.items(), colors):
  82. precision, recall, _ = precision_recall_curve(y, y_pred)
  83. prc_auc = auc(recall, precision)
  84. plt.plot(recall, precision, color=color, label=f'{name} (AUC = {prc_auc:.2f})')
  85. plt.xlim([0.0, 1.0])
  86. plt.ylim([0.0, 1.05])
  87. plt.xlabel('Recall')
  88. plt.ylabel('Precision')
  89. plt.title('Precision-Recall Curve')
  90. plt.legend(loc='lower left')
  91. plt.grid(True)
  92. plt.show()
  93. # Define function for Decision Curve Analysis
  94. def calculate_net_benefit(y_true, y_pred_proba, threshold):
  95. """
  96. Calculate net benefit for a given threshold
  97. Args:
  98. y_true: True labels
  99. y_pred_proba: Predicted probabilities
  100. threshold: Decision threshold
  101. Returns:
  102. Net benefit value
  103. """
  104. y_pred = (y_pred_proba >= threshold).astype(int)
  105. TP = np.sum((y_true == 1) & (y_pred == 1))
  106. FP = np.sum((y_true == 0) & (y_pred == 1))
  107. n = len(y_true)
  108. if TP + FP == 0:
  109. return 0
  110. net_benefit = (TP/n) - (FP/n) * (threshold/(1-threshold))
  111. return net_benefit
  112. def plot_dca_curve(y_true, predictions_dict, thresholds=np.arange(0, 1.01, 0.01),
  113. title="Decision Curve Analysis", colors=None):
  114. """
  115. Plot Decision Curve Analysis
  116. Args:
  117. y_true: True labels
  118. predictions_dict: Dictionary of model predictions
  119. thresholds: Array of threshold values
  120. title: Plot title
  121. colors: Color scheme for plotting
  122. """
  123. y_true_num = pd.get_dummies(y_true).iloc[:, 1].values
  124. plt.figure(figsize=(10, 8))
  125. if colors is None:
  126. colors = plt.cm.Set3(np.linspace(0, 1, len(predictions_dict)))
  127. # Calculate and plot "treat all" net benefit
  128. all_treat = [np.mean(y_true_num) - threshold/(1-threshold)*(1-np.mean(y_true_num))
  129. for threshold in thresholds]
  130. plt.plot(thresholds, all_treat, 'k--', label='Treat All')
  131. # Plot "treat none" baseline
  132. plt.plot(thresholds, np.zeros_like(thresholds), 'k-', label='Treat None')
  133. # Calculate and plot net benefit for each model
  134. for (name, y_pred), color in zip(predictions_dict.items(), colors):
  135. net_benefits = []
  136. for threshold in thresholds:
  137. nb = calculate_net_benefit(y_true_num, y_pred, threshold)
  138. net_benefits.append(nb)
  139. plt.plot(thresholds, net_benefits, color=color, label=name)
  140. plt.xlim(0, 1)
  141. plt.ylim(-0.05, max(all_treat) + 0.1)
  142. plt.xlabel('Threshold Probability')
  143. plt.ylabel('Net Benefit')
  144. plt.title(title)
  145. plt.legend(loc='lower left')
  146. plt.grid(True)
  147. return plt.gcf()
  148. # Plot DCA curve
  149. dca = plot_dca_curve(y, predictions)
  150. plt.show()
  151. # Calculate and display comprehensive metrics
  152. from sklearn.metrics import precision_score, recall_score, f1_score
  153. metrics = {}
  154. for name, model in models.items():
  155. pipeline = Pipeline(steps=[('preprocessor', preprocessor),
  156. ('scaler', StandardScaler()),
  157. ('classifier', model)])
  158. pipeline.fit(X, y)
  159. y_pred_class = pipeline.predict(X)
  160. y_pred_prob = pipeline.predict_proba(X)[:, 1]
  161. metrics[name] = {
  162. 'Accuracy': accuracy_score(y, y_pred_class),
  163. 'Precision': precision_score(y, y_pred_class),
  164. 'Recall': recall_score(y, y_pred_class),
  165. 'F1-score': f1_score(y, y_pred_class),
  166. 'ROC-AUC': roc_auc_score(y, y_pred_prob)
  167. }
  168. # Create and display metrics DataFrame
  169. metrics_df = pd.DataFrame(metrics).T
  170. print("\nModel Performance Metrics:")
  171. print(metrics_df.round(3))
  172. # Save results to CSV
  173. metrics_df.to_csv('model_metrics.csv')
  174. # Plot radar charts for each metric
  175. metrics_list = ['Accuracy', 'Precision', 'Recall', 'F1-score', 'ROC-AUC']
  176. model_names = list(models.keys())
  177. angles = np.linspace(0, 2*np.pi, len(model_names), endpoint=False)
  178. angles = np.concatenate((angles, [angles[0]]))
  179. model_names_plot = np.concatenate((model_names, [model_names[0]]))
  180. def add_value_labels(ax, angles, values):
  181. """
  182. Add value labels to radar chart
  183. """
  184. for angle, value in zip(angles[:-1], values[:-1]):
  185. ha = 'left' if 0 <= angle <= np.pi else 'right'
  186. offset = 0.1 if 0 <= angle <= np.pi else -0.1
  187. ax.text(angle, value + 0.05, f'{value:.3f}',
  188. ha=ha, va='center')
  189. # Plot radar chart for each metric
  190. for metric in metrics_list:
  191. plt.figure(figsize=(10, 8))
  192. ax = plt.subplot(111, projection='polar')
  193. values = [metrics[model][metric] for model in model_names]
  194. values = np.concatenate((values, [values[0]]))
  195. ax.plot(angles, values, 'o-', linewidth=2, label=metric)
  196. ax.fill(angles, values, alpha=0.25)
  197. add_value_labels(ax, angles, values)
  198. ax.set_xticks(angles[:-1])
  199. ax.set_xticklabels(model_names, fontsize=10)
  200. ax.set_ylim(0, 1)
  201. ax.set_title(f'{metric} Performance')
  202. ax.grid(True)
  203. plt.tight_layout()
  204. plt.show()

Machine learning.py at commit 5f464c1, no license · at the source

Overview

Authors: Yueying Liu1, Ruijin Xie1, Wenjing Zhao2, Hua Xu1, Jianrui Dou3, Xue Xiao1, Yufan Luo1, Heng Zhang4, Peiweng Wang5, Wei Xiao1, Xiao Tong1, Shengjie Xu1, Dongqin Wu1, Xianhui Deng6, Yu Wu5, Chenyu Sun7,8,9, Shudong Hu4
  1. Department of Pediatrics, Affiliated Hospital of Jiangnan University, Wuxi, China
  2. Yangzhou Key Laboratory of Anesthesiology, Northern Jiangsu People’s Hospital Affiliated to Yangzhou University, Yangzhou, China
  3. Center for Disease Control and Prevention of Yangzhou, Yangzhou, China
  4. Department of Radiology, Affiliated Hospital of Jiangnan University, Wuxi, China
  5. Lab of Modern Environmental Toxicology, Public Health and Preventive Medicine, Wuxi School of Medicine, Jiangnan University, Wuxi, China
  6. Department of Neonatology, Jiangyin People’s Hospital of Nantong University, Wuxi, China
  7. Division of Public Health, Infectious Diseases, and Occupational Medicine, Mayo Clinic, Rochester, USA
  8. Mayo Clinic School of Graduate Medical Education, Mayo Clinic College of Medicine and Science, Rochester, USA
  9. School of Public Health, University of Minnesota-Twin Cities, Minneapolis, USA
Journal: Journal of nanobiotechnology, volume 24, issue 1, article 743
Dates: received 29 September 2025; accepted 19 May 2026; published online 29 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1186/s12951-026-04599-5 · PMID 42216007 · PMCID PMC13464342 · OpenAlex W7162757203
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: genetics / omics (modality), human (organism), mouse (organism), epilepsy (population), cellular / molecular (subfield)
Methods: Statistics
Keywords: Microplastics, Neurotoxicity, Seizures, Inflammation, Ferroptosis
MeSH: Ferroptosis*, Lipid Metabolism*, Microplastics*, Polystyrenes*, Seizures*, Animals, Humans, Male, Mice, Multiomics, Oxidative Stress (* major topic)
Topic: Microplastics and Plastic Pollution (Pollution, Environmental Science), according to OpenAlex
Funding: Jiangsu Traditional Chinese Medicine (PDJH2024027); National Natural Science Foundation of China (82371462)
Citations: not cited yet (Europe PMC); 56 references in the paper

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.

Repository

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

PediatricLab-Jiangnan/Airborne-singlecell-bulk

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: 5f464c17f45dcc8131c25993a5317516a43784c0, 21 April 2025
Languages: R (9), Python (1)
Size: 13 files, 10 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (6 files), ggplot2 (3 files), clusterProfiler (2 files), Seurat (2 files), car (1 file), data.table (1 file), ggpubr (1 file), Harmony (1 file), Matplotlib (1 file), NumPy (1 file), pandas (1 file), patchwork (1 file), rstatix (1 file), scikit-learn (1 file), XGBoost (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
11 files

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 10 scripts, each with its path and the digest of its content;
  • 2 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

Datasets cited

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:

Read it in the paper: doi.org/10.1186/s12951-026-04599-5.

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, 17 authors, 5 keywords, 11 MeSH terms, 2 funders, 55 references.

Cite

This paper

Liu, Y., Xie, R., Zhao, W., Xu, H., Dou, J., Xiao, X., Luo, Y., Zhang, H., Wang, P., Xiao, W., Tong, X., Xu, S., Wu, D., Deng, X., Wu, Y., Sun, C., & Hu, S. (2026). Long-term exposure to polystyrene microplastics exacerbates seizure symptoms via lipid metabolic disruption and ferroptosis: insights from multi-omics analyses. Journal of nanobiotechnology, 24(1), 743. https://doi.org/10.1186/s12951-026-04599-5

BibTeX

@article{liu2026long,
author = {Liu, Yueying and Xie, Ruijin and Zhao, Wenjing and Xu, Hua and Dou, Jianrui and Xiao, Xue and Luo, Yufan and Zhang, Heng and Wang, Peiweng and Xiao, Wei and Tong, Xiao and Xu, Shengjie and Wu, Dongqin and Deng, Xianhui and Wu, Yu and Sun, Chenyu and Hu, Shudong},
title = {{Long-term exposure to polystyrene microplastics exacerbates seizure symptoms via lipid metabolic disruption and ferroptosis: insights from multi-omics analyses}},
journal = {Journal of nanobiotechnology},
year = {2026},
month = may,
volume = {24},
number = {1},
pages = {743},
publisher = {BMC},
issn = {1477-3155},
doi = {10.1186/s12951-026-04599-5},
url = {https://doi.org/10.1186/s12951-026-04599-5},
pmid = {42216007},
pmcid = {PMC13464342}
}

RIS

TY - JOUR
AU - Liu, Yueying
AU - Xie, Ruijin
AU - Zhao, Wenjing
AU - Xu, Hua
AU - Dou, Jianrui
AU - Xiao, Xue
AU - Luo, Yufan
AU - Zhang, Heng
AU - Wang, Peiweng
AU - Xiao, Wei
AU - Tong, Xiao
AU - Xu, Shengjie
AU - Wu, Dongqin
AU - Deng, Xianhui
AU - Wu, Yu
AU - Sun, Chenyu
AU - Hu, Shudong
TI - Long-term exposure to polystyrene microplastics exacerbates seizure symptoms via lipid metabolic disruption and ferroptosis: insights from multi-omics analyses
T2 - Journal of nanobiotechnology
J2 - J Nanobiotechnology
PY - 2026
DA - 2026/05/29
VL - 24
IS - 1
SP - 743
SN - 1477-3155
PB - BMC
DO - 10.1186/s12951-026-04599-5
UR - https://doi.org/10.1186/s12951-026-04599-5
LA - en
ER -

CSL-JSON

{
"id": "10.1186/s12951-026-04599-5",
"type": "article-journal",
"title": "Long-term exposure to polystyrene microplastics exacerbates seizure symptoms via lipid metabolic disruption and ferroptosis: insights from multi-omics analyses",
"container-title": "Journal of nanobiotechnology",
"author": [
{
"family": "Liu",
"given": "Yueying"
},
{
"family": "Xie",
"given": "Ruijin"
},
{
"family": "Zhao",
"given": "Wenjing"
},
{
"family": "Xu",
"given": "Hua"
},
{
"family": "Dou",
"given": "Jianrui"
},
{
"family": "Xiao",
"given": "Xue"
},
{
"family": "Luo",
"given": "Yufan"
},
{
"family": "Zhang",
"given": "Heng"
},
{
"family": "Wang",
"given": "Peiweng"
},
{
"family": "Xiao",
"given": "Wei"
},
{
"family": "Tong",
"given": "Xiao"
},
{
"family": "Xu",
"given": "Shengjie"
},
{
"family": "Wu",
"given": "Dongqin"
},
{
"family": "Deng",
"given": "Xianhui"
},
{
"family": "Wu",
"given": "Yu"
},
{
"family": "Sun",
"given": "Chenyu"
},
{
"family": "Hu",
"given": "Shudong"
}
],
"container-title-short": "J Nanobiotechnology",
"volume": "24",
"issue": "1",
"page": "743",
"DOI": "10.1186/s12951-026-04599-5",
"PMID": "42216007",
"PMCID": "PMC13464342",
"ISSN": "1477-3155",
"publisher": "BMC",
"URL": "https://doi.org/10.1186/s12951-026-04599-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
29
]
]
}
}

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.1002/imt2.70163 [code]
Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.
Journal: iMeta
In common: Harmony, rstatix, clusterProfiler, 10 other tools, genetics / omics, mouse, cellular / molecular
[2] doi:10.1038/s41586-026-10214-2 [code]
Multidimensional profiling of heterogeneity in supratentorial ependymomas.
Journal: Nature
In common: Harmony, car, clusterProfiler, 10 other tools, genetics / omics, mouse
[3] doi:10.1016/j.xcrm.2026.102766 [code]
A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.
Journal: Cell reports. Medicine
In common: Harmony, car, clusterProfiler, 10 other tools, genetics / omics, cellular / molecular
[4] doi:10.1016/j.cell.2026.05.026 [code]
The critical role of the endogenous immune compartment after CAR T cell therapy in recurrent GBM.
Journal: Cell
In common: Harmony, rstatix, clusterProfiler, 10 other tools, genetics / omics
[5] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: Harmony, rstatix, clusterProfiler, 9 other tools, genetics / omics, mouse, cellular / molecular
[6] doi:10.1038/s41398-026-04200-5 [code]
Postmortem brain single-nucleus and bulk gene expression analyses identify shared and distinct abnormalities in bipolar disorder and major depressive disorder.
Journal: Translational psychiatry
In common: Harmony, XGBoost, rstatix, 8 other tools, genetics / omics, cellular / molecular
[7] doi:10.1186/s13073-026-01704-z [code]
Gene expression profiling enables refined parcellation of cortical layers in the heterogeneous human cerebral cortex.
Journal: Genome medicine
In common: Harmony, XGBoost, Seurat, 9 other tools, genetics / omics, mouse, cellular / molecular
[8] doi:10.3390/toxics14050443 [code]
6PPDQ Exposure Exacerbates Seizure-Induced Neuronal Damage via the TP53/Nrf2 Axis: An Integrated Strategy Combining Network Toxicology and Experimental Validation.
Journal: Toxics
In common: XGBoost, ggplot2, scikit-learn, 3 other tools, epilepsy, cellular / molecular, 5 references
[9] doi:10.1126/sciadv.aeg3223 [code]
The extreme diversity of retinal amacrine cells has deep evolutionary roots.
Journal: Science advances
In common: XGBoost, rstatix, clusterProfiler, 9 other tools, genetics / omics, cellular / molecular
[10] doi:10.1038/s41593-026-02300-5 [code]
Integrated single-cell and spatial transcriptomic profiling in ALS uncovers peripheral-to-central immune infiltration and reprogramming.
Journal: Nature neuroscience
In common: Harmony, car, Seurat, 9 other tools, genetics / omics, cellular / molecular

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.