pydruglogics.utils.PlotUtil module
- class pydruglogics.utils.PlotUtil.PlotUtil
Bases:
object
- static plot_pr_curve_with_ci(pr_df, auc_pr, boot_n, plot_discrete)
- static plot_roc_and_pr_curve(predicted_synergy_scores, observed_synergy_scores, synergy_method, labels=None)
Plot the ROC and PR Curves for one or multiple sets of predicted synergy scores. :param predicted_synergy_scores: Either a list of predictions for multiple models or a single set of predictions. :param observed_synergy_scores: List of observed synergy scores. :param synergy_method: Method used for synergy scoring (for plot titles). :param labels: Optional list of labels for each set of predictions. If None, default labels will be images.