apri: AST to Platelet Ratio (APRI)

Description Usage Arguments Details Value Examples

View source: R/liver.R

Description

A vectorised function to calculate the APRI score, a predictor of hepatic fibrosis.

Usage

1
apri(ast, plt, ast_uln = 40)

Arguments

ast

numeric vector of serum AST levels in IU/l

plt

numeric vector of platelet counts (10^9/l)

ast_uln

single number value for lab upper limit of normal for AST levels (default is 40)

Details

Reference: Lin ZH, Xin YN, Dong QJ, et al. Performance of the aspartate aminotransferase-to-platelet ratio index for the staging of hepatitis C-related fibrosis: an updated meta-analysis. Hepatology 2011; 53:726-736.

Value

numeric vector of APRI scores

Examples

1
2
3
4
apri(ast = 38, plt = 150, ast_uln = 40)

# if the lab upper limit of normal is 40, ast_uln can be omitted
apri(ast = 160, plt = 75)

transplantr documentation built on Feb. 28, 2020, 5:07 p.m.