Introduction to Dash Cytoscape - Networks

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 51

  • @CharmingData
    @CharmingData  3 роки тому

    Hi Friends, thanks for the well wishes. I feel a lot better. Don't forget to download the supportive document: drive.google.com/file/d/15tsZgbXoGaV3HTOiFRjfcvq4kLiFv_sv/view?usp=sharing
    👉 Keep practicing, never give up, and always remember we're better together so help each other out.

  • @briggstwitchell1654
    @briggstwitchell1654 5 місяців тому +1

    Very helpful, thank you for this video! :)

  • @michaelanderson3566
    @michaelanderson3566 2 роки тому +1

    Wow! Just found your channel. All your tutorials that are so organized, clear, and helpful. Thank you so much and keep it up!

    • @CharmingData
      @CharmingData  2 роки тому

      it's my pleasure, Michael. Thank you for watching my channel.

  • @user-ys4tu8pd7k
    @user-ys4tu8pd7k 3 роки тому

    thank you Adam, glad to see you healthy, take care of yourself

  • @leonardomolina8958
    @leonardomolina8958 3 роки тому

    Thank you very much for the Cytoscape example. The topic of networks is very broad and very interesting. The things that can be represented as entities and relationships are sometimes surprising: elements within an invoice, natural language, social networks, etc.

    • @CharmingData
      @CharmingData  3 роки тому +1

      I know... I never realized how broad the topic of networks is. There are so many things that can be visualized as a network. Have you used one of them in the past, Leonardo?

    • @CharmingData
      @CharmingData  3 роки тому +1

      Leonardo, don't forget to send me your email address so I can give you access to extra code I create on GitLab. I can't remember if I gave that to you already or not. My email is: info@charmingdata.org

    • @leonardomolina8958
      @leonardomolina8958 3 роки тому +1

      @@CharmingData, I have had the opportunity to represent relationships between researchers in my country, to find the best connected scientists (with more "contacts"). I have also done some exercises with natural language, representing presidential speeches, statements of mission and vision of institutions, etc. as networks. Related to the latter, knowledge graphs seem very interesting to me.

    • @CharmingData
      @CharmingData  3 роки тому

      @@leonardomolina8958 nice. You have extensive experience 👍

  • @lucayapi3412
    @lucayapi3412 2 роки тому +1

    Thank you so much for the tutorial ! great

  • @freihat
    @freihat 3 роки тому +1

    Amazing tutorial. Saved a lot of time for me!

    • @CharmingData
      @CharmingData  3 роки тому

      Thank you Baker. I appreciate your support 🤗
      Have you built a dash app yet?

  • @flalixful
    @flalixful Рік тому

    Thanks for such an amazing tutorial.
    I have 2 questions that I could not find in this framework:
    a) How to get the mouse position in runtime?
    b) How to get the node's position in runtime or in batch mode?

  • @viktor4207
    @viktor4207 3 роки тому

    Amazing, seriously. Thank you so much for creating the videos

    • @CharmingData
      @CharmingData  3 роки тому

      You're welcome Victor. Have you created an app with Dash Plotly?

    • @viktor4207
      @viktor4207 3 роки тому +1

      @@CharmingData I have, in my class. I am a student at the University of Michigan Ann Arbor, finishing up my MS in Applied Data Science. I have some great ideas for it and am working on a personal project dealing with social networks and disinformation. I am hoping your videos will help to realize this idea

    • @CharmingData
      @CharmingData  3 роки тому

      @@viktor4207 sounds interesting and potentially impactful your project. Good luck, @Viktor.

    • @viktor4207
      @viktor4207 3 роки тому

      @@CharmingData Thank you! I'm excited, this is very interesting. Love plotly and dash is just a perfect boost for it. We have been mostly working with Altair, which I am not a big fan of, a 5000 df rows limit? Really?. We'll see what happens, thanks again, and looking forward to the journey.

  • @pankajsc96gtl
    @pankajsc96gtl 3 роки тому

    Thank you again for great tutorial as always

  • @amir_forooghi
    @amir_forooghi 3 роки тому

    Thanks for the great tutorial as always. The sound quality is OK :) Big like for you.

    • @CharmingData
      @CharmingData  3 роки тому +1

      Thanks Amir. I raised the mic volume to maximum.

  • @RobertAlexanderRM
    @RobertAlexanderRM Рік тому

    This topic is absolutely fascinating and you explain things in such a clear and patient way. I really hope to see more of this. Do you have a suggested playlist to get a newb from almost zero to a node/edge exploring app? Thank you very very much.

    • @CharmingData
      @CharmingData  Рік тому

      hi @Robert, Unfortunately, I only made a few videos on Cytoscape, so I don't have a different playlist.

  • @marionette1997
    @marionette1997 Рік тому

    Hello, thank you so much for all your videos it's very well explained ! Keep up the good work :)
    Is it possible to print all the target labels connected/related to the selected node by the user ? Maybe you have a video where you speak about that ? Thank you !

    • @CharmingData
      @CharmingData  Рік тому

      hey there, thanks for watching. I'll look into it and make a video if possible, but I don't think what you're trying to do is possible.

    • @marionette1997
      @marionette1997 Рік тому +1

      @@CharmingData Hello, thank you so much for answering ! If it can help you, on the website of plotly dash there is a code to print the label of a selected node :
      @app.callback(Output('cytoscape-selectedNodeData-markdown', 'children'),
      Input('cytoscape-event-callbacks-3', 'selectedNodeData'))
      def displaySelectedNodeData(data_list):
      if data_list is None:
      return "No city selected."
      cities_list = [data['label'] for data in data_list]
      return "You selected the following cities: " + "
      * ".join(cities_list)
      I'm not very good with python but I thought of something like this (which doesn't work) :
      def displaySelectedNodeData(data_list):
      if data_list is None:
      return "No city selected."
      cities_list = [data['label'] for data in data_list]
      connected_nodes = [nodes['target'] for nodes in data_list]
      return "You selected the following cities: " + "
      * ".join(cities_list) + "This node is connected to" + "
      * ".join(connected_nodes)
      Or something like :
      for source,target in network_graph.edges():
      if data_list== source:
      return "This node is connected to: " + (target[source])
      (This last one because I created a graph with draw_networkx() but I can also access my source and target in my dataframe where I have a column with all bigrams such as row 1 (teleworking, sick), row 2 (teleworking, anxiety), row 3 (play, inside), etc with for source,target in dataframe.column() ).
      I hope it can help you to have ideas if you're interested of course ! Thank you very much :)

  • @AnthonyNguyen3006
    @AnthonyNguyen3006 Рік тому

    Thank you for another great video. But i am just wondering how to deal with a larger dataset, we can't just go to set the id and name for every single element right?

    • @CharmingData
      @CharmingData  Рік тому

      Hi Toan, it might be more challenging for a larger dataset but you might be able to use for loops

  • @twelsh37
    @twelsh37 3 роки тому

    Hi Adam, I have a use case for Cytoscape. Just checking that Cytoscape is basically a graph database,

    • @CharmingData
      @CharmingData  3 роки тому

      Hi @Tom, I believe your post got cut. I'm not sure what you mean by Cytoscape being a graph database...

    • @twelsh37
      @twelsh37 3 роки тому

      @@CharmingData the terminology used in cytoscape of, nodes, edges, vertices etc are all terms that are synonymous with Graph databases and the mathematics of graph theory. The Graph database is not a database like oracle, or mysql. Foe example Neo4j is a well known Graph database. I'm sure if you have time and take a look you will see the similarities

    • @CharmingData
      @CharmingData  3 роки тому

      @@twelsh37 oh right. Now I see.

  • @ayarikhawla5725
    @ayarikhawla5725 3 роки тому +1

    would you please Adam ,make video with real data using cytoscape?? ( finance transaction data for exemple), thanks for your work.

    • @CharmingData
      @CharmingData  3 роки тому +1

      Hi Atari.. Right now i have many videos on my list to make before another Cystoscape video. Sorry.

  • @saiprakash5224
    @saiprakash5224 3 роки тому

    I thought you would be showing the social viz dashboards that were created..Anyway, this is a great video!! Can we expect the viz for social good dashboards created by your users in next video?

    • @CharmingData
      @CharmingData  3 роки тому

      Hi Sai, I emailed you about this yesterday. Yes, that is my next video. Sorry for the delay.

    • @saiprakash5224
      @saiprakash5224 3 роки тому

      @@CharmingData hi Adam, I was bit busy in other work and couldn't see your email. Thank you for the response!! Get well soon!!

    • @CharmingData
      @CharmingData  3 роки тому

      @@saiprakash5224 Thank you Sai.

  • @eugeniofernandez113
    @eugeniofernandez113 3 роки тому +1

    Awesome video, like all of your videos.
    I have one question, is it possible to create a dashboard like this one, but focusing the attention on the links, rather than on the nodes?
    I have a number asso'ciated to the relation between the nodes, so it would be great to great that selecting the link it would appear that number in the other graph like you do in this video selecting the nodes.
    Could you tell me if it's possible please??
    Thanks in advance

  • @hroyd
    @hroyd 2 роки тому

    Thanks for the tutorial. How could you update the elements interactively? For example, if the elements come from a dataframe and i have separate table that is used to filter the dataframe, how can the filtered data from that table be updated on the cytoscape network graph? Thanks

  • @matthewcrowther9969
    @matthewcrowther9969 2 роки тому

    Hi,
    Do you have a video regarding exporting data?
    I would like to export data views into something like xgmml or cx json for sharing.
    Thanks!

  • @rubykhan7765
    @rubykhan7765 Рік тому

    Hello I want to make a large network by updating your code but it's showing an error, I add more nodes to the dictionary and according to that set the targets.

    • @CharmingData
      @CharmingData  Рік тому

      Does that error occur when you run my original code or the error shows only after you modify the code?

    • @rubykhan7765
      @rubykhan7765 Рік тому

      @@CharmingData When I modify the code they show me the error, Actually, I add more nodes to the dictionary and according to that added more edges. So it's not giving results in a network. Can you specify the changes I have to do if want to make a large network of genes?

    • @rubykhan7765
      @rubykhan7765 Рік тому

      I slove the problem thank you so much all the stuff is amazing. One thing more I want to make yFiles orthogonal layout, how can I do it with the same code?

    • @rubykhan7765
      @rubykhan7765 Рік тому

      Second thing I want to change it a directed graph network by showing the forward arrows. how it will be possible?

    • @CharmingData
      @CharmingData  Рік тому

      @@rubykhan7765 Sorry, I don't have experience making yFiles otthogonal layout. I don't even know what that is.