Entering edit mode

Dear all,

I do have a set of translocations in GRanges List format. Is there a way to convert a GRanges List into an Adjacency List or Adjacency MAtrix that I could use as input into igraph package ? Thank a lot,

Bogdan

ps : igraph package accepts these formats : https://dshizuka.github.io/networkanalysis/02_dataformats.html

I am not sure how would an adjacency matrix of a GRangesList look like. Could you provide a made up example? I think you could create an incidence matrix and transform it to an adjacency matrix to use it as input for igraph.