xomics.plot_imput_histo
- xomics.plot_imput_histo(ax=None, figsize=(6, 5), df_raw=None, df_imp=None, cols_quant=None, d_min=None, up_mnar=None, alpha=0.75, binwidth=0.4, colors=None, y_max=None, x_max=None, **kwargs)[source]
Plot histogram of raw and imputed data
- Parameters:
ax (
Optional[Axes]) – The axes upon which to draw the plot. If None, a new figure and axes are created.figsize (
Tuple[int,int]) – The size of the figure to create.df_raw (
Optional[DataFrame]) – Dataframe containing the raw data.df_imp (
Optional[DataFrame]) – Dataframe containing the imputed data.cols_quant (
Optional[List[str]]) – Columns to consider for the quantitative analysis.d_min (
Optional[float]) – The minimum value of the data for annotation.up_mnar (
Optional[float]) – Upper value for MNAR annotation.alpha (
float) – Transparency level of the histogram bars for imputed data.binwidth (
float) – Width of the histogram bins.colors (
Optional[List[str]]) – List of colors for the histogram bars. If None, a default set of colors is used.**kwargs – Additional keyword arguments passed to seaborn’s histplot.
- Returns:
Axes object.
- Return type:
ax