normalise_label: Normalise categorical labels for modelling

View source: R/parse.r

normalise_labelR Documentation

Normalise categorical labels for modelling

Description

Numeric-looking labels collapse ("1.0", "1", " 1" -> "1"); other labels are trimmed. The raw strings are still what the output copies.

Usage

normalise_label(x)

Arguments

x

Character vector.

Value

Character vector of modelling labels.


cellsynth documentation built on Oct. 31, 2026, 1:07 a.m.