You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to manually colour nodes in the contact visualisation graphic, however this hasn't been very intuitive to do (see below). In this case, I also had to adjust the order of the colours (blue, pink) by trial and error, i was not able to specifically assign pink to female and blue to male.
Would it be possible to do something more intuitive for this, where you can sepifically assign a colour to a node by the variable of the node - something like this:
I tried to manually colour nodes in the contact visualisation graphic, however this hasn't been very intuitive to do (see below). In this case, I also had to adjust the order of the colours (blue, pink) by trial and error, i was not able to specifically assign pink to female and blue to male.
plot(x, node_color = "sex", col_pal = colorRampPalette(c("pink", "blue")), node_shape = "sex", shapes = c(male = "male", female = "female"), label = FALSE)
Would it be possible to do something more intuitive for this, where you can sepifically assign a colour to a node by the variable of the node - something like this:
plot(x, node_color = "sex", col_pal = c(male = "blue", female ="pink"), node_shape = "sex", shapes = c(male = "male", female = "female"), label = FALSE)
The text was updated successfully, but these errors were encountered: