pyprobound.plotting.kd_consistency

kd_consistency(experiment, i_index, b_index, u_index, batch, kernel=500, max_split=None)

Plots the bound and unbound fractions, binned by predicted Kd.

Parameters:
  • experiment (Experiment) – An experiment modeling a Kd-seq selection.

  • i_index (int) – The index of the input round.

  • b_index (int) – The index of the BoundRound.

  • u_index (int) – The index of the UnboundRound.

  • batch (CountBatch) – A batch corresponding to the provided experiment.

  • kernel (int) – The bin for average pooling of Kd-sorted sequences.

  • max_split (int | None) – Maximum number of sequences scored at a time.

Return type:

None