ConditionalRule {SMRUCC.genomics.Visualize.Circos.Configurations.Nodes.Plots} .NET clr documentation

ConditionalRule

Description

Rules are used to dynamically alter the format of a data point, based on the value of the data point (or any other property of it).

Each rule has a condition expression; any plot parameter may be placed inside a rule to override the plot's default value for that parameter.

 <rules>
   <rule>
     condition    = var(value) > 0.6
     color        = red
     fill_color   = red
   </rule>
 </rules>

Declare

            
# namespace SMRUCC.genomics.Visualize.Circos.Configurations.Nodes.Plots
export class ConditionalRule extends CircosDocument {
   color: string;
   # The rule trigger expression.(例如 var(value) > 0.6)
   condition: string;
   fill_color: string;
   # 设置为 1 的时候,当本规则被触发之后便不再继续测试后续的其它规则
   flow: string;
   glyph: string;
   glyph_size: string;
   # Rules are triggered in the order they are defined; this parameter can be used to define the importance of a rule irrespective of its order in the block.
   importance: string;
   stroke_color: string;
   stroke_thickness: string;
   thickness: string;
   # Whether the rule condition Is evaluated with Perl eval() (eval, the Default) Or without it (noeval)
   type: string;
   # The new value of the data point, this allows you to remap the value scale.
   value: string;
   # The z-depth of the data point, larger value means drawn later(on the top).
   z: string;
}

        

.NET clr type reference tree

  1. this class extends from CircosDocument class: CircosDocument

[Package {$package} version {$version} Index]