Hi I tried to visualize a network using RCy3
But I am struggling in one of the functions of RCy3 'setNodeBorderColorMapping' that depending on the value of certain column I wanted to give different node colors. For example, I wanted to have green color for the p-value <0.05 group and white color for the rests (green/white) only 2 colors).
However, when I put the below command, the color is somehow gradually changed (eg green->light green towards white etc) which I don't want... I also tried to change mapping.type ='d' to fix this instead of continuous type but it didnt work as well. Did I miss something here? How can I fix this problem?
setNodeBorderColorMapping(table.column= 'adjustedpvalue', table.column.values = c('adjustedpvalue'<0.05, 'adjusted_pvalue' >0.05), colors=c('#006633','#FFFFFF'), mapping.type = 'c')
my guess is that you change from mapping.type = 'c' to mapping.type = 'd'.
(char) continuous, discrete or passthrough (c,d,p); default is continuous.