Package: lab2clean 2.0.0

Ahmed Zayed
lab2clean: Automation and Standardization of Cleaning Clinical Laboratory Data
Navigating the shift of clinical laboratory data from primary everyday clinical use to secondary research purposes presents a significant challenge. Given the substantial time and expertise required for lab data pre-processing and cleaning and the lack of all-in-one tools tailored for this need, we developed our algorithm 'lab2clean' as an open-source R-package. 'lab2clean' package is set to automate and standardize the intricate process of cleaning clinical laboratory results. With a keen focus on improving the data quality of laboratory result values and units, our goal is to equip researchers with a straightforward, plug-and-play tool, making it smoother for them to unlock the true potential of clinical laboratory data in clinical research and clinical machine learning (ML) model development. Functions to clean & validate result values (Version 1.0) are described in detail in 'Zayed et al. (2024)' <doi:10.1186/s12911-024-02652-7>. Functions to standardize & harmonize result units (added in Version 2.0) are described in detail in 'Zayed et al. (2025)' <doi:10.1016/j.ijmedinf.2025.106131>.
Authors:
lab2clean_2.0.0.tar.gz
lab2clean_2.0.0.tar.gz(r-4.7-any)lab2clean_2.0.0.tar.gz(r-4.6-any)
lab2clean_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
lab2clean/json (API)
| # Install 'lab2clean' in R: |
| install.packages('lab2clean', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- annotable_strings - Annotable Strings for Unit Standardization
- common_words - Data for the common words
- Function_1_dummy - Dummy Data for demonstrating function 1
- Function_2_dummy - Dummy Data for demonstrating function 2
- Function_3_dummy - Dummy Data for demonstrating function 3
- Function_4_dummy - Dummy Data for demonstrating function 4
- logic_rules - Data for the logic rules
- loinc_reference_unit_v1 - Data for the Reference Harmonized Units for LOINC Groups
- parsed_units_df - Data for the parsed UCUM units
- reportable_interval - Data for the reportable interval
- RWD_units_to_UCUM_V2 - Data for the RWD units mapped to standard UCUM-valid units
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:6a33662aa6. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 179 | ||
| linux-release-x86_64 | OK | 127 | ||
| wasm-release | OK | 109 |
Exports:clean_lab_resultharmonize_lab_unitstandardize_lab_unitvalidate_lab_result
Dependencies:data.table
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Annotable Strings for Unit Standardization | annotable_strings |
| Clean and Standardize Laboratory Result Values | clean_lab_result |
| Data for the common words | common_words |
| Dummy Data for demonstrating function 1 | Function_1_dummy |
| Dummy Data for demonstrating function 2 | Function_2_dummy |
| Dummy Data for demonstrating function 3 | Function_3_dummy |
| Dummy Data for demonstrating function 4 | Function_4_dummy |
| Harmonizing Laboratory Units of Measurement through Unit Conversion | harmonize_lab_unit |
| Data for the logic rules | logic_rules |
| Data for the Reference Harmonized Units for LOINC Groups | loinc_reference_unit_v1 |
| Data for the parsed UCUM units | parsed_units_df |
| Data for the reportable interval | reportable_interval |
| Data for the RWD units mapped to standard UCUM-valid units | RWD_units_to_UCUM_V2 |
| Clean and Standardize Formats of Laboratory Units of Measurement | standardize_lab_unit |
| Validate Quantitative Laboratory Result Values | validate_lab_result |