An object to store glyph information
User can modify glyph objects to change the way how it is rendered.
Some of the slots/parameters in a glyph object control similar graph features (e.g. text font, line width/color etc). The priority is determined in the following sequence:
1. glyph@text, glyph@shape.
2. Fill color derived from omics data
3. Parameters in slot "firstname.lastname@example.org"
4. Slots in glyph object: stroke.opacity, fill.color etc.
For example, if both of the following parameters are set:
1). glyph@text$font.size = 5
2). lobal.parameters.list$font.size = 10
Then the font size is set by "glyph@text$font.size = 5".
A character string. The compartment this glyph belongs to.
Numeric. The x,y location and hight, width of the glyph
A character string. The ID of the glyph (determined by the "id" attribute in element "glyph")
A character string. label of the glyph. Extracted from the element "label"
A character string. Class of the glyph
A numeric vector. The omics data mapped to this glyph.
Numeric. Controls glyph border width or opacity of node fill and border.
A character string. The fill color and stroke color of glyph.
A character string. One of "center" or "top". If set to "center", the glyph label text will be displayed at the center of the glyph. If set to "top", the label will be displayed at the top of the glyph.
A character string. One of "left","right","up","down". This is specific to glyphs of classes "terminal" and "tag". It will change the orientation of the node.
A list. This is a copy of parameters in '...' of function
A list. Parameters controlling how the node is rendered. Available elements can be accessed as follow:
-Character (e.g. "red"). The color of glyph border.
-Numeric (e.g. 0.8). The opacity of glyph border. Must be between 0 and 1.
-Numeric. The width of glyph border
-Numeric. The opacity of glyph fill. Must be between 0 and 1.
-Numeric. The glyph fill color. Note that this will overwrite colors generated from omics data!
A list. Parameters controlling how node label is rendered. Available elements can be accessed as follow:
-Numeric. Move glyph label vertically by this value.
-Numeric. Move glyph label horizontally by this value.
-A character string. The color of glyph label.
-A character string. The font size of glyph label.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.