cytoscape / RCy3

New version of RCy3, redesigned and collaboratively maintained by Cytoscape developer community
MIT License
48 stars 20 forks source link

Sync automatic style mapping with py4cytoscape #138

Closed bdemchak closed 2 years ago

bdemchak commented 3 years ago

The 0.0.9 py4cytoscape has a number of value generator changes:

1) Value generator code was broken out into a new file style_auto_mapping.py. A similar change should work for RCy3.

2) For continuous mapping, changes were made to enable the mapper to determine whether the data is 1-tailed or 2-tailed and use an appropriate Brewer palette (sequential or divergent).

3) Checks were added to mappers to verify that an appropriate Brewer palette is being used (qualitative, sequential or divergent) for (discrete, continuous 1-tailed, continuous 2-tailed)

4) For continuous mapping, code added to detect and respond to empty columns and non-numeric columns.

5) Code exists for interpolating Brewer palettes for discrete mappings.

6) General refactoring to make all of the above possible.