Plotting Helpers#
Optinionated helper to produce plots.
Mostly meant to be used in the context of the revalidation of the mobgap algorithms.
|
Calculate the Bland-Altman statistics. |
|
Add annotations (mean and confidence interval) to a blandaltman style plot. |
|
Plot a regression line using seaborn's regplot and add the equation to the plot as legend. |
|
Calculate the min and max values of one or multiple datasets. |
|
Apply axes settings to make a plot square for a correlation plot. |
|
Move the legend from the axes to the figure and place it outside the plot. |
|
Create residual plots for method comparison using a Bland-Altman style analysis. |