scdef.tl.get_batch_technical_factors ¶
get_batch_technical_factors(model: scDEF) -> List[str]
Current model names of the factors marked batch_technical.
The counterpart of set_batch_technical_factors, and the batch-side
analogue of get_technical_factors. Names are translated to the
current model.factor_names entries the same way, so they can be
compared directly against the live model, and flagged factors the model no
longer keeps are omitted.
The two flags mean different things and are not interchangeable. A
technical factor is a candidate for deletion by drop_technical,
and the flag propagates up the tree. A batch_technical factor is a
layer-0 per-batch view of a program the corrected parent layer already
represents: nothing is deleted and nothing propagates —
factor_batch_correction merges or drops it in the corrected
representation and leaves the model itself untouched.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
scDEF
|
fitted scDEF model whose |
required |
Returns:
| Type | Description |
|---|---|
List[str]
|
Current layer-0 factor names flagged batch-technical, or |
List[str]
|
are flagged or diagnostics have not been computed. |