Directed graph, no weights, just descriptive. Trying to differentiate nodes based on gender (shape) & disease stage(color) M=square & F=circle work fine, need P= diamond or star. The only other shape igraph will recognize is rectangle (I’ve tried them all.) Why is this happening, updated R on Wed, how do I fix? Thank you
### SET GRAPH ATTRIBUTES
## Set node shapes based on GenderP
V(g)$shape <- ifelse(V(g)$GenderP == 'M', 'square',
ifelse(V(g)$GenderP == 'F', 'circle', 'rectangle'))
# Set node colors based on IDL_Disease
V(g)$color <- ifelse(V(g)$IDL_Disease == 700, "green",
ifelse(V(g)$IDL_Disease == 710, "red",
ifelse(V(g)$IDL_Disease %in% c(720, 730, 745), "orange", NA)))