pytometry.plotting.plotdata#
- pytometry.plotting.plotdata(adata, key='signal_type', option='area', n_bins=400, normalize=None, cofactor=10, figsize=(15, 6), n_cols=3, save='', **kwargs)#
Creating histogram plot from Anndata object.
- Parameters
adata (
AnnData
) – AnnData object containing data.key (
str
) – string value to point to the column var metadata with the signal type to plot (seeoption
parameter). Defaults to “signal_type”.option (
str
) – Switch to choose directly between area and height data.n_bins (
int
) – int value to control the number of bins per histogram plotnormalize (
Optional
[str
]) – choose between “arcsinh”, “biExp” and “logicle”cofactor (
Optional
[float
]) – float value to normalize with in arcsinh-transformfigsize (
Tuple
[float
,float
]) – tuple to control the overall figure size.n_cols (
int
) – int value, number of columns of the plot.save (
str
) – str value, filename to save the shown figurekwargs – Passed to
matplotlib.pyplot.savefig()