quadbio / Pando

Multiome GRN inference.
https://quadbio.github.io/Pando/
MIT License
106 stars 21 forks source link

Direction of regulation / highlighting TFs in the network plot #28

Closed kstrotjohann closed 1 year ago

kstrotjohann commented 1 year ago

Hey @joschif, thanks for the nice tool!

Newbie question: Is there an elegant way to show the direction of regulation in the network graph, i.e. which nodes are TFs and which are their targets? This would also be interesting in the cases of TFs regulating other TFs. When using plot_tf_network() to plot a sub-network around one TF, one can choose to label TF-nodes only, however, as far as I can see, a similar option is not available for plot_network_graph().

Many thanks in advance!

joschif commented 1 year ago

Hi @kstrotjohann, if you want to customize the plots beyond what can be done with Pando, I recommend you use ggraph as briefly explained here. You can also find more info on how to use ggraph here: https://ggraph.data-imaginist.com/

kstrotjohann commented 1 year ago

All right, thanks =)