my RDD contains actually some biological data which is protein names, and the similarity degree between them. I would like to create graph where vertices are proteins and edges represent the similarity values. Here's actually my RDD:
+-------------+------------+------------+
| Protein1 | Protein2 | Similarity |
+-------------+------------+------------+
| P28469 | Q70UP5 | 0.11111111 |
| O45687 | P00325 | 1.0 |
| A7ME43 | Q5HG16 | 0.6 |
| A4VJT7 | Q9LD43 | 1.0 |
| P31937 | Q64415 | 0.07692308 |
| A1VAA0 | Q9L298 | 1.0 |
| B8DG74 | Q6MT35 | 1.0 |
+-------------+------------+------------+
Thank you!