So I have networks made up of funders->recipients (first two columns in data frame), made using graph_from_data_frame(igraph)
in R.
More columns in the data frame include info on donor / recipient type (of institution, uni, gov, ri etc), and total USD invested (integer).
I'd like to colour code nodes/vertices by organisation type, and include size of nodes by total USD.
example of my data frame '''
Donor Recipient Recipient.type Total.USD
NIH UCLA Univ 122
WHO Vax.PLC Firm 80
Wellcome LSTHM Org 104
'''