scdef.tl.get_global_factors ¶
get_global_factors(model: 'scDEF', layer_idx: int = 0, n_eff_parents_min: float = 1.5, exclude_technical: bool = True) -> List[str]
Return the factors at layer_idx shared across lineages (high effective parents).
Uses avg_n_eff_parents for layer 0 when available; otherwise local
n_eff_parents. Factors with score >= n_eff_parents_min are returned.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
'scDEF'
|
fitted scDEF model with |
required |
layer_idx
|
int
|
child layer to query (default 0 = L0). |
0
|
n_eff_parents_min
|
float
|
minimum effective-parent score for a global factor. |
1.5
|
exclude_technical
|
bool
|
drop factors marked technical in |
True
|
Returns:
| Type | Description |
|---|---|
List[str]
|
List of factor names in the current model view at |