Pkgndep: a tool for analyzing dependency heaviness of R packages
- PMID: 35801905
- PMCID: PMC9438947
- DOI: 10.1093/bioinformatics/btac449
Pkgndep: a tool for analyzing dependency heaviness of R packages
Abstract
Summary: Numerous R packages have been developed for bioinformatics analysis in the last decade and dependencies among packages have become critical issues to consider. In this work, we proposed a new metric named dependency heaviness that measures the number of dependencies that a parent uniquely brings to a package and we proposed possible solutions for reducing the complexity of dependencies by optimizing the use of heavy parents. We implemented the metric in a new R package pkgndep which provides an intuitive way for dependency heaviness analysis. Based on pkgndep, we additionally performed a global analysis of dependency heaviness on CRAN and Bioconductor ecosystems and we revealed top packages that have significant contributions of high dependency heaviness to their child packages.
Availability and implementation: The package pkgndep and documentations are freely available from the Comprehensive R Archive Network https://cran.r-project.org/package=pkgndep. The dependency heaviness analysis for all 22 076 CRAN and Bioconductor packages retrieved on June 8, 2022 are available at https://pkgndep.github.io/.
Supplementary information: Supplementary data are available at Bioinformatics online.
© The Author(s) 2022. Published by Oxford University Press.
Figures
Similar articles
-
monaLisa: an R/Bioconductor package for identifying regulatory motifs.Bioinformatics. 2022 Apr 28;38(9):2624-2625. doi: 10.1093/bioinformatics/btac102. Bioinformatics. 2022. PMID: 35199152 Free PMC article.
-
promor: a comprehensive R package for label-free proteomics data analysis and predictive modeling.Bioinform Adv. 2023 Mar 7;3(1):vbad025. doi: 10.1093/bioadv/vbad025. eCollection 2023. Bioinform Adv. 2023. PMID: 36922981 Free PMC article.
-
rGREAT: an R/bioconductor package for functional enrichment on genomic regions.Bioinformatics. 2023 Jan 1;39(1):btac745. doi: 10.1093/bioinformatics/btac745. Bioinformatics. 2023. PMID: 36394265 Free PMC article.
-
spiralize: an R package for visualizing data on spirals.Bioinformatics. 2022 Feb 7;38(5):1434-1436. doi: 10.1093/bioinformatics/btab778. Bioinformatics. 2022. PMID: 34849585 Free PMC article.
-
MorphoTools2: an R package for multivariate morphometric analysis.Bioinformatics. 2022 May 13;38(10):2954-2955. doi: 10.1093/bioinformatics/btac173. Bioinformatics. 2022. PMID: 35561177
Cited by
-
HTLV-1-infected cells drive the differentiation of monocytes into macrophages in vitro.BMC Immunol. 2025 Mar 20;26(1):24. doi: 10.1186/s12865-024-00670-8. BMC Immunol. 2025. PMID: 40114046 Free PMC article.
-
Trackplot: a fast and lightweight R script for epigenomic enrichment plots.Bioinform Adv. 2024 Feb 28;4(1):vbae031. doi: 10.1093/bioadv/vbae031. eCollection 2024. Bioinform Adv. 2024. PMID: 38476298 Free PMC article.
References
-
- Mora-Cantallops M. et al. (2020) A complex network analysis of the comprehensive R archive network (CRAN) package ecosystem. J. Syst. Softw., 170, 110744.