Describe program activity and signature sizes
Usage
factor_diagnostics(
fit,
factors = NULL,
activity_threshold,
feature_threshold,
activity_direction = "positive",
display_normalization = "max_abs",
membership_burden = FALSE
)Arguments
- fit
Native fit or representation.
- factors
Optional factor IDs.
- activity_threshold
Activity threshold, strictly exceeded. Required: the cut is the caller's choice (on the
display_normalizationscale).- feature_threshold
Absolute effect threshold, strictly exceeded. Required.
- activity_direction
positive, negative or absolute.
- display_normalization
max_abs (per column) or none.
- membership_burden
Opt-in: add a continuous membership-burden column to the per-sample table,
b_i = sum_k max(A_ik, 0) / m_kwithm_k = max_i A_ikover the selected factors (ImmGenT-GP total-membership quantity). Computed on raw resolved activities (independent ofdisplay_normalization); negative activities contribute 0; factors with nonpositive maxima contribute 0 and are recorded. Descriptive only — not a compositional probability and not a QC deletion rule. Per-factor maxima and zero-max factors are recorded in the analysis metadata.