Opened 11 years ago

Closed 8 years ago

Last modified 3 years ago

#443 closed task (performed)

Add generic concept to colorize items in arb

Reported by: westram Owned by: westram
Priority: major Milestone: arb7.0
Component: global Version:
Keywords: Cc:

Description (last modified by westram)

All items (genes,species,…) should allow to be displayed in any color in the various display clients (tree-display, editor, gene-map, ..).

Needs #682

The used color should be determined on the fly from item-data, e.g.

  1. from the database field ARB_color (which provides the current coloring mechanism),
    usage of color-groups and coloring of marked items can be toggled in shader-setup-window (./)
  2. from a database field containing some numeric value (./) for 1-3 DB-fields with [15001]
  3. from an ACI expression transforming custom item data into a numeric value (./) with [15035]

Case 1. directly provides a GC (status quo).
Cases 2. and 3. provide a value which will be mapped to a color-range (e.g. value=[0..100] ⇒ color[yellow..red]).

Additional features/settings (for cases 2. and 3.):

  • define how color-range shall be mapped to value-range (./) with [15015]
    • once (simple, but expressive) (./)
    • multiple times (repeated forward mapping or interleaved forward/backward mapping) (./)
      • allow fractions for mapping factor, add scaler to GUI (./)
  • value-range (./) with [14997]
    • allow to specify using min/max input fields (+scalers) (./)
    • add a range auto-detection (./)
  • values outside the value-range could be
    • mapped into the range (first/last color) (./) or
    • skipped (=drawn in default GC)
  • allow to store/restore the active color-customization in configurations (./) with [15042]

Note:

  • each itemtype needs its own config window
    no. each canvas(-type) has its own config window (./)

Use case:

  • colorize species according to their position in a given topology (see #444)
    [implemented dynamically] (./)

Change History (13)

comment:1 Changed 11 years ago by westram

obsoletes #308 and #309

comment:2 Changed 9 years ago by westram

  • Description modified (diff)
  • Milestone changed from work2014 to wishlist2016

comment:3 Changed 9 years ago by westram

  • Priority changed from normal to major

comment:4 Changed 9 years ago by westram

  • Description modified (diff)

comment:5 Changed 9 years ago by westram

  • Milestone changed from wishlist2016 to r16q2

comment:6 Changed 8 years ago by westram

  • Owner changed from devel to westram
  • Status changed from new to _started

comment:7 Changed 8 years ago by westram

  • Description modified (diff)

comment:8 Changed 8 years ago by westram

  • Description modified (diff)

comment:9 Changed 8 years ago by westram

  • Description modified (diff)

comment:10 Changed 8 years ago by westram

  • Description modified (diff)

comment:11 Changed 8 years ago by westram

  • Description modified (diff)

comment:12 Changed 8 years ago by westram

  • Description modified (diff)
  • Resolution set to performed
  • Status changed from _started to closed

comment:13 Changed 3 years ago by westram

  • Milestone changed from r16q2 to arb7.0
Note: See TracTickets for help on using tickets.