lagci Tutorial

Author

Xiaotao SHEN & Zirui QIANG & Shunpeng BAI & Yitong WU

Published

August 4, 2025

Preface

lagci helps you answer questions such as:

How long after a glucose spike does my heart-rate change?
Which biomarker moves firstโ€”cortisol or cytokine?

It combines sliding windows, LOESS smoothing and bootstrap correction to estimate robust lagged correlations, and identify the causal relationships between molecules.

Learning path

Chapter Goal
1 Install lagci and Docker Get lagci and all dependencies running locally
2 Raw Data Processing and Preview Convert wide tables to long, clean timestamps
3 Calculation and Plotting Ten lines of R to obtain a lagged correlation curve
4 lagcishiny Web Application Drop-in UI for interactive dashboards
5 FAQ & Citation Troubleshooting and academic citation

๐Ÿ“ฌ Contact us