tdm.plot.model.calibration.plot_calibration_against_permuted_divisions#
- tdm.plot.model.calibration.plot_calibration_against_permuted_divisions(ana: Analysis, n_cells_per_bin: int = 2000)[source]#
Plots model calibration for all cell types. Plots calibration on real data and a version with permuted divisions side by side.
- Parameters:
ana (Analysis) – an Analysis object.
n_cells_per_bin (int, optional) – number of cells used in each point. A small number introduces
2000. (greater error in estimating the true probability. Defaults to)
max_p (float | None, optional) – sets the y-lim of the true probability axis. Defaults to None.