lagCI is a part of tidywearable.
lagCI is an R package for calculating the lagged correlation between time-series data, with a focus on wearable and omics data integration.
You can install lagCI from
GitHub.
if(!require(devtools)){
install.packages("devtools")
}
devtools::install_github("jaspershen-lab/lagci")Then load the package with:
library(lagci)lagCI provides tools for time-series lagged correlation analysis between wearable and omics data.
If you have any questions about lagCI, please don't hesitate to
email me (shenxt@stanford.edu) or reach out via the social media below.
M339, Alway Buidling, Cooper Lane, Palo Alto, CA 94304
If you use lagCI in your publications, please cite this preprint:
Yifei Ge, Shunpeng Bai, Zirui Qiang, Yijiang Liu, Yitong Wu, Xiaotao Shen,
LagCI Enables Inference of Temporal Causal Relationships from Dense
Multi-Omic Time Series, bioRxiv 2026.04.15.718654.
doi: https://doi.org/10.64898/2026.04.15.718654.
Thank you very much!