pyrfume.plotting module

pyrfume.plotting.mpl_embedding(xy, colors=None, alpha=0.25, figsize=(6, 6), s=0.5, cmap='hsv', title=None, ax=None)[source]
pyrfume.plotting.plotly_embedding(embedding, features=None, show_features=None, colors=None, colorscale='rainbow')[source]
params:

embedding: A dataframe wrapped around e.g. a fitted TSNE object, with an index of CIDs features: A dataframe of features, e.g. names, SMILES strings, or physicochemical features,

with an index of CIDs