| refine.linf.csts | R Documentation |
Selects well-supported leaf dominance-lineages and refines them by dropping
the dominant feature(s) encoded in the parent label path and re-applying
linf.csts to the remaining features. The resulting child
labels are appended to the parent label using sep.
Low-support child lineages are handled by low.freq.policy. When
low.freq.policy = "pure", rare buckets at depth >= 2 become
parent-prefixed automatically via the hierarchical paste(parent, child, sep = sep).
refine.linf.csts(
M,
csts,
n0 = 50,
refinement.factor = 2,
sep = "__",
low.freq.policy = c("pure", "absorb"),
rare.label = "RARE_DOMINANT",
verbose = TRUE,
backend = c("auto", "dense", "sparse")
)
M |
Numeric matrix (samples x features) used for refinement. Column names should match feature labels used in dCST names. |
csts |
A |
n0 |
Integer >= 1. Minimum support required to retain a child lineage
(passed to |
refinement.factor |
Numeric > 0. Auto-refine parent lineages with
support >= |
sep |
Character scalar used to concatenate hierarchical labels. |
low.freq.policy |
Character. One of |
rare.label |
Character scalar for rare buckets when |
verbose |
Logical. If TRUE, print progress information. |
backend |
Character. Matrix backend to use: |
Updated "linf.csts" object with cst.depth increased by one and
updated cell.label. Policy-specific views are stored in
cell.label.rare and cell.label.absorb.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.