nmf_models.plotting.loss

loss(nmf_model, modality='both')[source]

View loss.

Parameters:
  • nmf_model (intNMF) – intNMF model with loss to plot

  • modality (str, 'both' | 'rna' | 'atac') – plot combined or modality specific loss. Default combined

Return type:

matplotlib ax