popv.visualization.agreement_score_bar_plot

popv.visualization.agreement_score_bar_plot#

popv.visualization.agreement_score_bar_plot(adata, popv_prediction_key='popv_prediction', consensus_score_key='popv_prediction_score', save_folder=None)[source]#

Create bar-plot of prediction scores in query cells after running popv.

Parameters:
  • adata – AnnData object.

  • popv_prediction_score – Key in adata.obs for prediction scores.

  • save_folder (str | None (default: None)) – Path to a folder for storing the plot. Defaults to None and plot is not stored.

Returns:

Returns axis of corresponding plot.