anupam sinha
2010-03-09 12:39:47 UTC
Dear all,
I have a number of graphs in this format (adjacency list)
:
PABPC4 PABPC4 EEF1A1 SETDB1 XRN1 RIF1
AHCY AHCY
PSCDBP PSCDBP PSCD1
ITSN2 ITSN2 WAS RAD9A LSM8 SYNJ2
TICAM2 TICAM2 IL1R1 IRAK1 TRAF6 IRF3 TLR4 IL1RAP
IRAK3 IRF7 TIRAP
ADCY3 CAMK2G ADCY3
ADCY6 ADCY6 CHRNA7 GNAS RAF1
FHL3 FHL3 ACTB CDC25B MAPK1 LASP1 KLF8 CTBP2
FHL2 ZNF42 SRF CDC42EP1 PHC2 PCQAP
TM9SF2 TM9SF2 RAB9A
where the alphanumeric id represents the node name (gene name). The first
column contains the source node and the other columns have the destination
nodes. How do I convert this into an edgelist format using R implementation
of igraph ? Thanks in advance for any suggestions.
Regards,
Anupam
I have a number of graphs in this format (adjacency list)
:
PABPC4 PABPC4 EEF1A1 SETDB1 XRN1 RIF1
AHCY AHCY
PSCDBP PSCDBP PSCD1
ITSN2 ITSN2 WAS RAD9A LSM8 SYNJ2
TICAM2 TICAM2 IL1R1 IRAK1 TRAF6 IRF3 TLR4 IL1RAP
IRAK3 IRF7 TIRAP
ADCY3 CAMK2G ADCY3
ADCY6 ADCY6 CHRNA7 GNAS RAF1
FHL3 FHL3 ACTB CDC25B MAPK1 LASP1 KLF8 CTBP2
FHL2 ZNF42 SRF CDC42EP1 PHC2 PCQAP
TM9SF2 TM9SF2 RAB9A
where the alphanumeric id represents the node name (gene name). The first
column contains the source node and the other columns have the destination
nodes. How do I convert this into an edgelist format using R implementation
of igraph ? Thanks in advance for any suggestions.
Regards,
Anupam