cytoscape / RCy3

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

enhancement: setNodeColorBypass: List of hex colors #188

Closed veroniquevoisin closed 1 year ago

veroniquevoisin commented 2 years ago

enhancement idea: setNodeColorBypass: List of hex colors it would be easier if we could use R color names ("red", "blue") in addition to hex numbers. It is possible with the setNodeCustomPieChart function. Thanks!!

AlexanderPico commented 2 years ago

Plan: import gplots, then check colors against colors() and call col2hex(). Modify .checkHexColor() to perform this conversion prior to hex check and then change all instances to accept returned hex code: https://github.com/cytoscape/RCy3/search?q=.checkHexColor

AlexanderPico commented 2 years ago

Check for consistency:

bdemchak commented 2 years ago

Also add the following?

setNodeCustomBoxChart setNodeCustomHeatMapChart setNodeCustomLineChart setNodeCustomPieChart setNodeCustomRingChart setNodeCustomLinearGradient setNodeCustomRadialGradient

Are you considering all of these for the next RCy3 release?

yihangx commented 1 year ago

Fixed.