Hi,
I would like to modify the colours and the shape of the nodes in an igraph network according to party and gender respectively.
The name of the party and the gender is specified in the nodes csv file.
Twitter_handle party Gender State
1 ChuckGrassley Republican Male IA
2 DavidVitter Republican Male LA
3 JeffFlake Republican Male AZ
4 JerryMoran Republican Male KS
5 JohnBoozman Republican Male AR
6 LisaMurkowski Republican Female AK
Can someone please tell me which coding to use?
Is there a format to combine if else function in igraph for this?
Thank you