scdef.pl.obs_scores ¶
obs_scores(model: scDEF, obs_keys: Sequence[str], hierarchy: Optional[Dict[str, Sequence[str]]] = None, mode: Literal['f1', 'fracs', 'weights', 'prob', 'soft_prec', 'score'] = 'fracs', vmax: Optional[float] = None, vmin: Optional[float] = None, **kwargs: Any) -> None
Plot the association between a set of cell annotations and factors.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
scDEF
|
scDEF model instance |
required |
obs_keys
|
Sequence[str]
|
the keys in model.adata.obs to use |
required |
hierarchy
|
Optional[Dict[str, Sequence[str]]]
|
the polytree to restrict the associations to |
None
|
mode
|
Literal['f1', 'fracs', 'weights', 'prob', 'soft_prec', 'score']
|
scoring method:
|
'fracs'
|
**kwargs
|
Any
|
plotting keyword arguments |
{}
|