[FEAT] Visualizing domain architectures | network #19
Replies: 4 comments 3 replies
-
Hello @jananiravi , I am an Outreachy applicant and I am interested in working on this |
Beta Was this translation helpful? Give feedback.
-
Sure, @leenaaize, please get started! share your plan of action once you go through the specifics. |
Beta Was this translation helpful? Give feedback.
-
Hello @jananiravi Here is my plan of action Install necessary R packages: Create Node List: Prepare the node list, containing unique GC and DA names, lineage information, and a unique identifier. Calculate lineage proportion for each node which will be used to create pie chart overlays. Create Edge List: Prepare the edge list connecting GCs and DAs. The edge list will consist of from and to columns indicating the GC or DA relationships. Create igraph Object from node and edge lists. Create Clusters: Design a Shiny App UI: Define the fluidPage() for the UI with sidebarPanel() and mainPanel(). The sidebar will include:
Define the Shiny App Server logic:
Explore other packages for customizations such as visNetwork and networkD3 to add interactive features like zoom and drag. Adjust the size of the plot in Shiny using the height and width parameters in plotOutput(). Also just to clarify, when you specified that the network will be split by arrow and ||, does that mean there will be different types of relatonships, some directional and some parallel? |
Beta Was this translation helpful? Give feedback.
-
This is a great start, @leenaaize! Also, take a sneak peek into the MolEvolvR web-app domain architecture network tab to see how it's implemented in Shiny. When going across the suggested packages above or other new ones in town, it's worth thinking about which features we would like, e.g., how interactive it is, SVG download options. cc: @epbrenner @the-mayer |
Beta Was this translation helpful? Give feedback.
-
Network
Implementing networks for Genomic Contexts (GCs) #23
igraph
customizations, try other packagesggraph
+tidytext
ggnetwork
networkD3
visNetwork
geomnet
tidygraph
Beta Was this translation helpful? Give feedback.
All reactions