nmf_models.plotting.plot_weights_rank
- plot_weights_rank(nmf_model, factor, n_labs=5, modality='rna', select=None, title=None, ax=None)[source]
Rank plot of the feature weights.
- Parameters:
nmf_model (intNMF) – intNMF model with loadings to rank (.fit has been run)
factor (int) – factor/topic to plot feature weights for
n_labs (int) – number of features to label
modality (str, 'rna' | 'atac') – select modality from which features are ranked.
title (str) – plot title, default None
ax (matplotlib ax) – matplotlib ax to plot on
- Return type:
matplotlib ax