nmf_models.plotting.embed_plot
- embed_plot(nmf_model, TX=0, TY=1, labs=None, scale_x=1, scale_y=1, title=None, y_lab=None, x_lab=None)[source]
Plot nmf embedding.
- Parameters:
nmf_model (intNMF) – intNMF model with embed to view (.fit has been run)
TX (int) – factor/topic for x-axishttp://localhost:8888
TY (int) – factor/topic for y-axis
labs (list) – cell labels used to colour plot. discrete or continuos determined by fraction of unique elements
scale_x (float) – value to divide x-axis values by
scale_y (float) – value to divide y-axis values by
title (str) – plot title, default None
y_lab (str) – y-axis label, default None
x_lab (str) – x-axis label, default None
- Return type:
matplotlib ax