# OERenderUnpairedInteractionMap¶

bool OERenderUnpairedInteractionMap(OEDepict::OEImageBase &image,


Renders the protein-ligand map with clash and unpaired interactions.

image
The image in which the active site is drawn.
The OE2DActiveSiteDisplay object that holds the data necessary to depict the interactions of an active site.

The OERenderUnpairedInteractionMap function currently visualizes the following interactions:

The following code snippet shows how to use the OERenderUnpairedInteractionMap function. The image created is shown in Figure: Example of using the OERenderUnpairedInteraction function.

OEBio::OEInteractionHintContainer asite(receptor, ligand);
OEBio::OEPerceiveInteractionHints(asite);
OEPrepareActiveSiteDepiction(asite);

OEImage image(600.0, 400.0);

OE2DActiveSiteDisplayOptions opts(image.GetWidth(), image.GetHeight());