SpiecEasi icon indicating copy to clipboard operation
SpiecEasi copied to clipboard

Use the two betas values to weight an edge

Open Mataivic opened this issue 4 years ago • 1 comments

Hello,

I was wondering if it is valid/relevant to plot a spieceasi network with double and directed edges (it is possible to do that with igraph) ? I mean , for each couple of connected vertices, have a directed edge vertice_A -> vertice_B using the corresponding value of the beta matrix, and another directed edge vertice_B -> vertice_A using the other corresponding beta.

If not wrong, is this relevant ? Or should I use the regular way, i.e. use only one edge weighted with symBeta(getOptbeta(network), method='maxabs') ?

Thanks.

Mataivic avatar Aug 28 '20 10:08 Mataivic

igraph will certainly allow you to set up a directed network this way but I don't have any good theory to support this approach - certainly it would not be a Gaussian graphical model, which is by definition symmetric.

zdk123 avatar Sep 09 '20 22:09 zdk123