plot_mean_distributions#
- RAPDOR.plots.plot_mean_distributions(rapdorids, rapdordata: RAPDORData, colors, title_col: str = None)#
Plots means of distributions of the ids specified. Plots a Violin plot if fraction is categorical
- Parameters:
rapdorids (List[any]) – RAPDORids that should be plotted
rapdordata (RAPDORData) – a RAPDORData object containing the IDs from rapdorids
colors (Iterable[str]) – An iterable of color strings to use for plotting
title_col (str) – Name of a column that is present of the dataframe in rapdordata. Will use this column as names for the mean distributions. Set to None if Names should not be displayed.
Returns: go.Figure()