spared.plotting.plot_data_distribution_stats
- spared.plotting.plot_data_distribution_stats(dataset: str, processed_adata: AnnData, path: str) None[source]
Plot dataset’s general stats
This function plots a pie chart and bar plots of the distribution of spots and slides in the dataset split.
- Parameters:
dataset – Name of the dataset
processed_adata (ad.AnnData) – Processed and filtered data ready to use by the model.
path (str) – Path to save the image.