Plotting

Plotting#

barplot_enrichment_comparison(...)

Plots a grouped bar plot comparing enrichment scores across archetypes for a given set of features.

barplot_functional_enrichment(top_features)

Generate bar plots showing functional enrichment scores for each archetype.

barplot_meta_enrichment(meta_enrich[, meta, ...])

Generate a stacked bar plot showing metadata enrichment across archetypes.

heatmap_meta_enrichment(meta_enrich[, meta])

Generate a heatmap showing metadata enrichment across archetypes.

plot_archetypes_2D(adata[, dimensions, ...])

Generate a static 2D scatter plot showing data points, archetypes and the polytope they span.

plot_archetypes_3D(adata[, dimensions, ...])

Create an interactive 3D scatter plot showing data points, archetypes and the polytope they span.

plot_bootstrap_2D(adata[, dimensions, ...])

Visualize the distribution and stability of archetypes across bootstrap samples in 2D PCA space.

plot_bootstrap_3D(adata[, dimensions, ...])

Interactive 3D visualization of archetypes from bootstrap samples to assess their variability.

plot_bootstrap_variance(adata[, ...])

Visualize archetype stability as a function of the number of archetypes using cached bootstrap results.

plot_IC(adata[, result_filters])

Generate a plot showing an information criteria for a range of archetypes.

plot_var_explained(adata[, ymin, ymax, ...])

Generate an elbow plot of the variance explained by Archetypal Analysis (AA) for a range of archetypes.

radarplot_meta_enrichment(meta_enrich[, ...])