tirank.Visualization.plot_score_distribution

tirank.Visualization.plot_score_distribution(savePath)[source]

Plots the density distribution of prediction scores for bulk and single-cell data.

This function loads prediction dataframes for bulk and single-cell experiments from pickled files, plots their “Pred_score” distributions on a single density plot, and saves the figure.

Parameters:

savePath (str) – The root directory containing the ‘3_Analysis’ subfolder, which must hold ‘saveDF_bulk.pkl’ and ‘saveDF_sc.pkl’.

Returns:

None