xchrom.pl.plot_perpeak_aucprc

xchrom.pl.plot_perpeak_aucprc(true_matrix: ndarray, pred_matrix: ndarray, out_file: str | Path = './eval_out/perpeak_aucprc_scatterplot.pdf')[source]

Plot the per-peak auROC and auPRC scatter plot. :param true_matrix: The true label matrix, shape (n_cells, n_peaks). :type true_matrix: np.ndarray :param pred_matrix: The prediction matrix, shape (n_cells, n_peaks). :type pred_matrix: np.ndarray :param out_dir: The directory to save the plot. :type out_dir: Union[str, Path] :param out_name: The name of the plot. :type out_name: Union[str, Path]

Return type:

None