nmf_models.plotting.plot_weights_scatter

plot_weights_scatter(nmf_model, factors, n_labs=5, modality='rna', select=None, title=None)[source]

Rank plot of the feature weights.

Parameters:
  • nmf_model (intNMF) – intNMF model with loadings to plot (.fit has been run)

  • factors (tuple(int, int)) – factor/topics to plot feature weights for

  • n_labs (int) – number of features to label per topic/factor

  • modality (str, 'rna' | 'atac') – select modality from which features are plotted.

  • select (list[str]) – list of additional features to label

  • title (str) – plot title, default None

Return type:

matplotlib ax