OERenderActiveSiteMaps

bool OERenderActiveSiteMaps(OEDepict::OEImageBase &image,
                            const OEBio::OEInteractionHintContainer &asite)

Renders four protein-ligand maps (interaction, unpaired, b-factor and contact) into separate tabs of an image.

image

The image in which the active site is drawn.

asite

The OEInteractionHintContainer object that holds the data for the active site.

Note

This functionality is only available for .svg image format.

Example:

OEInteractionHintContainer asite = new OEInteractionHintContainer(receptor, ligand);
OEBio.OEPerceiveInteractionHints(asite);
OEGrapheme.OEPrepareActiveSiteDepiction(asite);

OEImage image = new OEImage(800.0, 600.0);

OEGrapheme.OERenderActiveSiteMaps(image, asite);
OEDepict.OEWriteImage("RenderActiveSiteMap.svg", image);

Example of using the OERenderActiveSiteMaps function

../../_images/RenderActiveSiteMaps.svg

Code Example