omicverse.micro.plot_embedding_biplot#
- omicverse.micro.plot_embedding_biplot(mmvec, components=(0, 1), label_top=5, ax=None)[source]#
Biplot of microbe + metabolite embeddings in the MMvec latent space.
Draws two scatter point clouds in the same panel: microbes (rows of
mmvec.U_) and metabolites (rows ofmmvec.V_) projected onto the chosencomponents(default the first two latent factors). Annotates thelabel_topitems farthest from the origin in each cloud — these are the entities most strongly associated with that pair of latent factors.