Published April 15, 2025 | Journal article | Version v1 | https://doi.org/10.21105/joss.07323

bayes_traj: A Python package for Bayesian trajectory analysis

Files

joss.07323.pdf

Files (13.5 MB)

Name Size Download all
md5:6359cf26c3cc31d72b4c3047566e1bef
13.2 MB Download
md5:c31150b5bd23b6a3d3abdbddbc361e1b
335.1 kB Preview Download

Additional details

Funding

ROR icon National Heart, Lung, and Blood Institute
Machine Learning Development for Subtyping COPD K25HL130637
ROR icon National Heart, Lung, and Blood Institute
Risk Stratification for COPD Exacerbations with CT Analysis and Multidimensional Trajectory Subtyping R01HL164380
ROR icon National Institutes of Health

Dates

Issued
April 15, 2025

References

  1. Ross, J., Zhao, T., & Zhao, T. (2025). bayes_traj: A Python package for Bayesian trajectory analysis (Version 1.0.2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.15047374
  2. Tan, Z. (2023). BCClong: Bayesian Consensus Clustering for Multiple Longitudinal Features [Dataset]. In CRAN: Contributed Packages. The R Foundation. https://doi.org/10.32614/cran.package.bcclong
  3. Komárek, A., & Komárková, L. (2014). Capabilities ofRPackagemixAKfor Clustering Based on Multivariate Continuous and Discrete Longitudinal Data. Journal of Statistical Software, 59(12). https://doi.org/10.18637/jss.v059.i12
  4. Komárek, A., & Komárková, L. (2013). Clustering for multivariate continuous and discrete longitudinal data. The Annals of Applied Statistics, 7(1), 177–200. https://doi.org/10.1214/12-aoas580
  5. Lock, E. F., & Dunson, D. B. (2013). Bayesian consensus clustering. Bioinformatics, 29(20), 2610–2616. https://doi.org/10.1093/bioinformatics/btt425
  6. Lu, Z. (2024). Clustering Longitudinal Data: A Review of Methods and Software Packages. International Statistical Review, 93(3), 425–458. https://doi.org/10.1111/insr.12588
  7. Lu, Z., Ahmadiankalati, M., & Tan, Z. (2023). Joint clustering multiple longitudinal features: A comparison of methods and software packages with practical guidance. Statistics in Medicine, 42(29), 5513–5540. https://doi.org/10.1002/sim.9917
  8. Viera-López, G., Morgado-Vega, J. J., Reyes, A., Altshuler, E., Almeida-Cruz, Y., & Manganini, G. (2023). pactus: A Python framework for trajectory classification. Journal of Open Source Software, 8(89), 5738. https://doi.org/10.21105/joss.05738
  9. Shenk, J., Byttner, W., Nambusubramaniyan, S., & Zoeller, A. (2021). Traja: A Python toolbox for animal trajectory analysis. Journal of Open Source Software, 6(63), 3202. https://doi.org/10.21105/joss.03202
  10. Zang, E., & Max, J. T. (2022). Bayesian estimation and model selection in group-based trajectory models. Psychological Methods, 27(3), 347–372. https://doi.org/10.1037/met0000359
  11. van der Nest, G., Lima Passos, V., Candel, M. J. J. M., & van Breukelen, G. J. P. (2020). An overview of mixture modelling for latent evolutions in longitudinal data: Modelling approaches, fit statistics and software. Advances in Life Course Research, 43, Article 100323. https://doi.org/10.1016/j.alcr.2019.100323
  12. Reback, J., McKinney, W., Jbrockmendel, Bossche, J. V. D., Augspurger, T., Cloud, P., Gfyoung, Sinhrks, Klein, A., Hawkins, S., Roeschke, M., Tratner, J., She, C., Ayd, W., Petersen, T., MomIsBestFriend, Garcia, M., Schendel, J., Hayden, A., … Winkel, M. (2020). pandas-dev/pandas: Pandas 1.0.5 (Version v1.0.5) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.3898987
  13. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., … Chintala, S. (2019). PyTorch: An Imperative Style, High-Performance Deep Learning Library (Version 1). arXiv. https://doi.org/10.48550/arxiv.1912.01703
  14. Hunter, J. D. (2007). Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering, 9(3), 90–95. https://doi.org/10.1109/mcse.2007.55
  15. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  16. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  17. Ross, J. C., San José Estépar, R., Ash, S., Pistenmaa, C., Han, M., Bhatt, S. P., Bodduluri, S., Sparrow, D., Charbonnier, J.-P., Washko, G. R., & Diaz, A. A. (2024). Dysanapsis is differentially related to lung function trajectories with distinct structural and functional patterns in COPD and variable risk for adverse outcomes. eClinicalMedicine, 68, 102408. https://doi.org/10.1016/j.eclinm.2023.102408
  18. Ross, J. C., Castaldi, P. J., Cho, M. H., Hersh, C. P., Rahaghi, F. N., Sánchez-Ferrero, G. V., Parker, M. M., Litonjua, A. A., Sparrow, D., Dy, J. G., Silverman, E. K., Washko, G. R., & San José Estépar, R. (2018). Longitudinal Modeling of Lung Function Trajectories in Smokers with and without Chronic Obstructive Pulmonary Disease. American Journal of Respiratory and Critical Care Medicine, 198(8), 1033–1042. https://doi.org/10.1164/rccm.201707-1405oc
  19. Ross, J. C., Castaldi, P. J., Cho, M. H., Chen, J., Chang, Y., Dy, J. G., Silverman, E. K., Washko, G. R., & José Estépar, R. S. (2017). A Bayesian Nonparametric Model for Disease Subtyping: Application to Emphysema Phenotypes. IEEE Transactions on Medical Imaging, 36(1), 343–354. https://doi.org/10.1109/tmi.2016.2608782
  20. Lange, P., Celli, B., Agustí, A., Boje Jensen, G., Divo, M., Faner, R., Guerra, S., Marott, J. L., Martinez, F. D., Martinez-Camblor, P., Meek, P., Owen, C. A., Petersen, H., Pinto-Plata, V., Schnohr, P., Sood, A., Soriano, J. B., Tesfaigzi, Y., & Vestbo, J. (2015). Lung-Function Trajectories Leading to Chronic Obstructive Pulmonary Disease. New England Journal of Medicine, 373(2), 111–122. https://doi.org/10.1056/nejmoa1411532
  21. Agusti, A., & Faner, R. (2019). Lung function trajectories in health and disease. The Lancet Respiratory Medicine, 7(4), 358–364. https://doi.org/10.1016/s2213-2600(18)30529-0
  22. Lowe, K. E., Regan, E. A., Anzueto, A., Austin, E., Austin, J. H. M., Beaty, T. H., Benos, P. V., Benway, C. J., Bhatt, S. P., Bleecker, E. R., Bodduluri, S., Bon, J., Boriek, A. M., Boueiz, A. R., Bowler, R. P., Budoff, M., Casaburi, R., Castaldi, P. J., Charbonnier, J.-P., … Crapo, J. D. (2019). COPDGene® 2019: Redefining the Diagnosis of Chronic Obstructive Pulmonary Disease. Chronic Obstructive Pulmonary Diseases: Journal of the COPD Foundation, 6(5), 384–399. https://doi.org/10.15326/jcopdf.6.5.2019.0149