scdef.tl.get_technical_signature ¶
get_technical_signature(model: scDEF, top_genes: int = 10, return_scores: bool = False) -> Union[List[str], Tuple[List[str], ndarray]]
Consensus gene signature over the factors flagged as technical.
Pools the layer-0 gene rankings of the factors in the technical hierarchy
into one ranked list, so the variation
drop_technical would remove can be inspected
before removing it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
scDEF
|
scDEF model instance. Requires
|
required |
top_genes
|
int
|
maximum number of genes to return. |
10
|
return_scores
|
bool
|
also return the consensus score of each returned gene. |
False
|
Returns:
| Type | Description |
|---|---|
Union[List[str], Tuple[List[str], ndarray]]
|
The top gene names, or |