scirpy.pl.alpha_diversity¶
-
scirpy.pl.
alpha_diversity
(adata, groupby, *, target_col='clone_id', vistype='bar', **kwargs)¶ Plot the alpha diversity per group.
`Plot the alpha diversity per group.
Calls
scirpy.tl.alpha_diversity()
.- Parameters
- adata :
AnnData
AnnData
Annotated data matrix. Will execute
scirpy.tl.alpha_diversity()
on-the-fly.- groupby :
str
str
Column of
obs
by which the grouping will be performed- target_col :
str
str
(default:'clone_id'
) Column on which to compute the alpha diversity
- vistype : {‘bar’}
Literal
[‘bar’] (default:'bar'
) Visualization type. Currently only ‘bar’ is supported.
- **kwargs
Additional parameters passed to
scirpy.pl.base.bar()
- adata :
- Return type