visualization of chromatin interaction networks
1
0
Entering edit mode
Bogdan ▴ 670
@bogdan-2367
Last seen 14 months ago
Palo Alto, CA, USA

Dear all,

please would you advise if there is any tool in BioC that could help with  the visualization of CHROMATIN INTERACTION NETWORKS as a GRAPH (where NODES="chromosome loci", and EDGES = "interactions").  Thanks a lot !

-- bogdan

 

gviz ggbio karyotypeR • 1.1k views
ADD COMMENT
0
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 1 hour ago
The city by the bay

While this isn't my forte, I thought I'd respond here to your offline message, just in case anyone else cares:

library(InteractionSet)
example(GInteractions)
anc <- anchors(gi, type="both", id=TRUE)

library(igraph)
G <- make_graph(rbind(anc$first, anc$second),
    n=length(regions(gi)), directed=FALSE)
plot(G)

... or see ?layouts for the available graph layouts.

ADD COMMENT
0
Entering edit mode

Thanks a lot, Aaron, for your reply : it is always great to hear from you. Yes, I've embraced so far the same strategy, i.e. to use the package "igraph" (http://kateto.net/network-visualization), although I am also looking into :

tidygraph : https://github.com/thomasp85/tidygraph

ggraph : https://www.data-imaginist.com/2017/ggraph-introduction-layouts/

ggnet2: https://briatte.github.io/ggnet/

networkD3 : http://christophergandrud.github.io/networkD3/

visnetwork : http://datastorm-open.github.io/visNetwork/edges.html

ADD REPLY

Login before adding your answer.

Traffic: 456 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6