0

I am looking for a R package that I can use to generate such a figure (see image below).

intersection tree

I found it in an article but I did not find any mention on how they created such a plot. It remind me the second part of an Upset diagram but I have no clue if they used any python or R library or if this is an handmade image.

The idea would be to generate this plot from a simple csv file:

set1,set2
table1,person
table2,observation_period
table2,visit_detail
table3,visit_detail
table1,visit_detail
table3,procedure_occurrence
table2,drug_exposure
table1,device_exposure
table2,measurement
table3,device_exposure
table2,note
table2,survey_conduct
table1,note
table1,survey_conduct
table3,cost
table3,drug_era

And see all the intersection between set1 and set2.

Coddy
  • 1

0 Answers0