format_fold: Format a log2 prevalence ratio as a fold difference string

View source: R/config.R

format_foldR Documentation

Format a log2 prevalence ratio as a fold difference string

Description

Vectorized. For values < 1, shows reciprocal in parentheses.

Usage

format_fold(log2_val)

Arguments

log2_val

Numeric vector of log2 PR values.

Value

Character vector of formatted fold strings.


syrona documentation built on Sept. 5, 2026, 1:06 a.m.