This Shiny App computes the zlog values of the preceding and the subsequent reference interval for different analytes for each age group. Many medical reference intervals are not age-dependent and have large jumps between the individual age groups. This should be prevented by considering the zlog value. The lower reference limits (LL) and upper reference limits (UL) can transform any result x into a zlog value using the following equation:
zlog(x) = (log(x)–(log(LL)+ log(UL))/2)*3.92/(log(UL)–log(LL))
If the zlog value deviates significantly from -1.96 to 1.96, the reference intervals and the age groups should possibly be renewed to obtain age-dependent reference intervals.
Method 1:
Use the function runGitHub()
from the package shiny:
if("shiny" %in% rownames(installed.packages())){
library(shiny)} else{install.packages("shiny")
library(shiny)}
runGitHub("Zlog_AdRI", "SandraKla")
Method 2 (not recommended): Download the Zip-File from this Shiny App. Unzip the file and set your working direction to the path of the folder. The package shiny (≥ 1.7.1) must be installed before using the Shiny App:
# Test if shiny is installed:
if("shiny" %in% rownames(installed.packages())){
library(shiny)} else{install.packages("shiny")
library(shiny)}
And then start the app with the following code:
runApp("app.R")
The package DT (≥ 0.21) and shinydashboard (≥ 0.7.2) is downloaded or imported when starting this app. The used R-Version must be ≥ 4.1.2 (2021-11-01).
Data from the CALIPER-Database with age-dependent reference intervals has been preloaded into this Shiny App. For this purpose, the data were brought into the appropriate shape for the analysis from the Supplemental Table 2 from the publication: Closing the Gaps in Pediatric Laboratory Reference Intervals: A CALIPER Database of 40 Biochemical Markers in a Healthy and Multiethnic Population of Children.
For new data use the CALIPER-Dataset as template with the columns:
- CODE: Name of the analyte ("Calcium")
- LABUNIT: Unit of the analyte ("mmol/L")
- SEX: "M" for male, "F" for female and "MF" for male and female together
- UNIT: Unit of the age range in "year", "month", "week" or "day"
- AgeFrom: Start of the age range
- AgeUntil: End of the age range
- LowerLimit: Start of the reference interval (LL)
- UpperLimit: Start of the reference interval (UL)
You are welcome to:
- Submit suggestions and Bugs at: https://github.com/SandraKla/Zlog_AdRI/issues
- Make a pull request on: https://github.com/SandraKla/Zlog_AdRI/pulls
- Write an Email with any questions and problems to: s.klawitter@ostfalia.de
For more information use the Homepage!
Link to the publication: A zlog-based algorithm and tool for plausibility checks of reference intervals