DataFormat

HTML ModuleTable

Applies to:  Module and Module Collection

Description

The HTML_ModuleTable format will output an HTML-formatted table with one module on each row and with columns containing information about different module properties chosen by the user. It is possible to include graphical logos for the modules and also specify alternative module properties to be shown as tooltips when the user points at a cell in the table.

Arguments

NameDescription
Format This parameter specifies which module properties to include in the output as an ordered, comma-separated list of property names. Note that standard properties are case-insensitive, but user-defined properties are case-sensitive!

Standard module properties include:
  • ID
  • Cardinality
  • Motifs
  • Ordered
  • Oriented
  • Max length
  • Max IC
  • Min IC
  • Logo
The name of a property can be followed by the name of another property within parenthesis. This second property will be displayed as a tooltip when the mouse is over the table cell with the first property. For example, the format string: "ID,Logo(Max IC)" will create a table with two columns where the first column will contain the module ID and the second a graphical module logo. If the user points the mouse at the logo for a module, its maximum IC will be displayed in a tooltip. (Note that this might not work within MotifLab but should work if the HTML document is saved to a file and displayed in an external web browser).
Logo max width The maximum width of module logos. If this is specified, logos will be scaled to fit within this limit when necessary. A value of 0 means no limit.
Logos Specifies whether the image files for module logos should be made specifically for this output data object and given file names reflecting this fact ("New images") or if the image files should be named after the modules themselves (e.g. "MOD0003.gif") and allowed to be shared by other HTML-formatted output data objects that also contain logos for the same modules ("Shared images"). A third option is to output logos using textual rather than graphical representations ("Text").
multiline Some module properties may be represented by lists. If the "multiline" option is selected, these lists will be broken across multiple lines in a table cell. If the "multiline" option is not selected, these properties will be output as comma-separated lists.
Headline An optional headline which will be displayed above the table.

See Also: output