ipsmap: Map Score to Immunophenoscore

View source: R/IPS_helper.R

ipsmapR Documentation

Map Score to Immunophenoscore

Description

Maps input score to Immunophenoscore (IPS) on a 0-10 scale. Scores \le0 map to 0, scores \ge3 map to 10, and intermediate scores are linearly scaled.

Usage

ipsmap(x)

Arguments

x

Numeric value representing the aggregate z-score.

Value

Integer value between 0 and 10 representing the Immunophenoscore.

Examples

ips <- ipsmap(2.5)
ips <- ipsmap(-1)
ips <- ipsmap(5)

IOBR documentation built on May 30, 2026, 5:07 p.m.