collapse.rare: Switch a dCST hierarchy to the "absorb" view (collapse rare...

View source: R/linf.R

collapse.rareR Documentation

Switch a dCST hierarchy to the "absorb" view (collapse rare buckets)

Description

Returns a copy of a "linf.csts" object with cell.label (and, if present, cst.levels) replaced by the precomputed "absorb" labeling. This does not recompute dCSTs; it only switches between labelings already stored in the object.

Usage

collapse.rare(csts)

Arguments

csts

A "linf.csts" object produced by linf.csts and optionally refined by refine.linf.csts / refine.linf.csts.iter.

Value

A "linf.csts" object using the "absorb" view.


linf documentation built on Aug. 5, 2026, 9:08 a.m.