doubletdetection.plot.convergence#

doubletdetection.plot.convergence(clf, show=False, save=None, p_thresh=1e-07, voter_thresh=0.9)[source]#

Produce a plot showing number of cells called doublet per iter

Parameters
  • clf (BoostClassifier object) – Fitted classifier

  • show (bool, optional) – If True, runs plt.show()

  • save (str, optional) – filename for saved figure, figure not saved by default

  • p_thresh (float, optional) – hypergeometric test p-value threshold that determines per iteration doublet calls

  • voter_thresh (float, optional) – fraction of iterations a cell must be called a doublet

Returns

matplotlib figure