Skip to content

Shiny App: A zlog-based algorithm and tool for plausibility checks of reference intervals

License

Notifications You must be signed in to change notification settings

SandraKla/Zlog_AdRI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiny App for "A zlog-based algorithm and tool for plausibility checks of reference intervals!"

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.

 

Installation

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).

Usage

Preloaded dataset

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.

New data

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)

Contact

You are welcome to:

For more information use the Homepage!

Link to the publication: A zlog-based algorithm and tool for plausibility checks of reference intervals