biopython v1.71.0 Bio.Graphics.KGML_vis

Classes and functions to visualise a KGML Pathway Map.

The KGML definition is as of release KGML v0.7.1 (http://www.kegg.jp/kegg/xml/docs/)

Classes:

Link to this section Summary

Functions

Return the passed color in Reportlab Color format

Return darkened color as a ReportLab RGB color

Return filename of temporary file containing downloaded image

Link to this section Functions

Link to this function color_to_reportlab()

Return the passed color in Reportlab Color format.

We allow colors to be specified as hex values, tuples, or Reportlab Color objects, and with or without an alpha channel. This function acts as a Rosetta stone for conversion of those formats to a Reportlab Color object, with alpha value.

Any other color specification is returned directly

Return darkened color as a ReportLab RGB color.

Take a passed color and returns a Reportlab color that is darker by the factor indicated in the parameter.

Link to this function get_temp_imagefilename()

Return filename of temporary file containing downloaded image.

Create a new temporary file to hold the image file at the passed URL and return the filename.