scdef.pl.cell_entropies ¶
cell_entropies(model: scDEF, thres: float = 0.9, entropy_suffix: str = 'entropy', effective_suffix: str = 'effective_n_factors', show: bool = True) -> Optional[Figure]
Plot cell entropies and factor numbers across layers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
scDEF
|
scDEF model instance |
required |
thres
|
float
|
Threshold for cumulative sum calculation |
0.9
|
entropy_suffix
|
str
|
suffix used by per-layer entropy columns in |
'entropy'
|
effective_suffix
|
str
|
suffix used by per-layer effective-factor columns |
'effective_n_factors'
|
show
|
bool
|
Whether to show the plot |
True
|