partipy.plot_archetypes_3D

partipy.plot_archetypes_3D#

partipy.plot_archetypes_3D(adata, dimensions=None, show_contours=False, contours_confidence_level=0.95, contours_alpha=0.3, color=None, size=2.0, alpha=0.2, alpha_hull=0.2, result_filters=None)#

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

This function uses the principal components defined in the selected AA configuration and visualizes the archetypes stored in adata.uns["AA_results"]. If a color key is provided, it colors data points by the corresponding values from adata.obs.

Return type:

Figure

Parameters: