Code repository for metabolomics analysis and visualization in gut–brain axis research related to Alzheimer’s disease.
This repository contains R scripts for:
Correlation analysis (chord diagrams, heatmaps)
Group comparisons (boxplots, volcano plots)
PCA and statistical testing on metabolomics datasets
R (≥4.0)
Packages: circlize, ComplexHeatmap, reshape2, tidyr, dplyr, ggplot2, readxl, LMSstat, writexl
Place input data (.csv, .xlsx) in the Example data/ folder.
Open R and set the working directory inside the script.
Run the scripts (main_script.R, visualization workflow).
Outputs: correlation tables, heatmaps, chord diagrams, boxplots, volcano plots, and PCA results.