crested.pl.bar.normalization_weights

crested.pl.bar.normalization_weights#

crested.pl.bar.normalization_weights(adata, **kwargs)#

Plot the distribution of normalization scaling factors per cell type.

Parameters:
  • adata (AnnData) – AnnData object containing the normalization weights in obsm["weights"].

  • kwargs – Additional arguments passed to render_plot() to control the final plot output. Please see render_plot() for details.

Return type:

Figure

Example

>>> crested.pl.bar.normalization_weights(
...     adata,
...     xlabel="Cell type",
...     ylabel="Scaling factor",
...     width=20,
...     height=3,
...     title="Normalization scaling factors",
... )
../../../_images/bar_normalization_weights.png