This PR closes #23 . It contains code to prepare facet plots for arbitrary subsets of the cell-level predictions to get a clearer picture of error cases.
How did you implement your changes
I added functions collapse_activity_dfs, subset_activity_df and subset_plots to plot_utils.py and changed calc_metrics so that it does not internally defines function calc_scores, instead calc_scores is defined as a normal function so that I can get imported by subset_plots.
What is the purpose of this PR?
This PR closes #23 . It contains code to prepare facet plots for arbitrary subsets of the cell-level predictions to get a clearer picture of error cases.
How did you implement your changes
I added functions
collapse_activity_dfs
,subset_activity_df
andsubset_plots
to plot_utils.py and changedcalc_metrics
so that it does not internally defines functioncalc_scores
, insteadcalc_scores
is defined as a normal function so that I can get imported bysubset_plots
.Remaining issues
None