API Reference#
Core workflow#
Run NMF independently for each sample and collect gene loadings. |
|
Derive consensus meta-programs (MPs) across all NMF programs. |
|
Compute per-meta-program quality metrics. |
|
Compute module scores for each meta-program. |
|
Determine the optimal number of meta-programs via silhouette score. |
Filtering and editing#
Identify meta-programs that fall below quality-metric thresholds. |
|
Keep only MPs whose scores differ significantly between one condition and the rest. |
|
Remove one or more meta-programs from result_dict in-place. |
|
Merge two or more meta-programs into a single consensus program. |
|
Suggest DROP or MERGE actions for low-quality meta-programs. |
|
Apply DROP and MERGE actions proposed by |
GSEA#
Run the full GSEA workflow for all meta-programs. |
|
Bar plots of enriched terms per meta-program. |
Visualisation#
Plot a cosine-similarity heatmap with optional cluster boundaries. |
|
Plot NMF convergence curves for one or multiple samples. |
|
Overlay MP module scores on a UMAP embedding. |
|
Violin plots of MP module scores across obs categories. |
|
Recompute PCA and UMAP on adata in-place. |
Gene-name translation#
Translate gene names in results_mp using a mapping from |
Persistence#
Report#
Generate a self-contained tabbed HTML report of kaleidocell results. |
Bundled files#
Registry of data files bundled with kaleidocell. |