sfaira.train.SummarizeGridsearchEmbedding.plot_npc

SummarizeGridsearchEmbedding.plot_npc(organ, topology_version, cvs=None)

Plots the explained variance ration that accumulates explained variation of the latent space’s ordered principal components. If an embedding file is found that contains z, z_mean, z_var (eg. output from predict_variational() function) the model will use z, and not z_mean.