mmcci.pl.lr_top_dissimilarity
- mmcci.pl.lr_top_dissimilarity(dissimilarity_scores, n=10, top=True, x_label_size=18, y_label_size=24, x_tick_size=14, y_tick_size=12, figsize=(6, 5), show=True, title=None, title_size=14)[source]
Plots a bar plot of LR pairs with highest/lowest dissimilarity scores.
- Parameters:
dissimilarity_scores (dict) – A dictionary of dissimilarity scores.
n (int) – Number of LR pairs to plot.
top (bool) – If True, plot LR pairs with highest dissimilarity scores. If False, plot LR pairs with lowest dissimilarity scores.
x_label_size (int) – Font size for x-axis label. Defaults to 18.
y_label_size (int) – Font size for y-axis label. Defaults to 24.
x_tick_size (int) – Font size for ticks. Defaults to 14.
y_tick_size (int) – Font size for ticks. Defaults to 12.
figsize (tuple) – Size of the figure. Defaults to (10, 8).
show (bool) – Whether to show the plot or not. Defaults to True.
title (str) – Title of the plot. Defaults to None.
title_size (int) – Font size of the title. Defaults to 14.
- Returns:
The figure
- Return type:
matplotlib.figure.Figure