Replies: 4 comments 3 replies
-
|
Hi @GriEri! This feature doesn't exist yet, but it’s a good idea and will be simple to implement. In your mind, what information would you want provided in the branch/endpoint files? Just coordinates? |
Beta Was this translation helpful? Give feedback.
-
|
To the second part of your question - you will isolate that information from the graph object. Each graph vertex has an attribute ‘v_coords’. You can isolate the endpoints and branch points into a vertex sequence as such: branch_points = g.vs.select(_degree_gt=2)
endpoints = g.vs.select(_degree=1)You can then use those vertex sequences to create subgraphs to to extract a list of the coordinates, degrees, etc. This is all done with igraph. This will be an easier one to implement, but I’m caught up in the middle of a codebase cleanup and refactoring grind, so it might be a few days before I’m able to have it implemented in an effective way. |
Beta Was this translation helpful? Give feedback.
-
|
@GriEri Quick question for you- are you using VesselVio from the terminal or are you using it as a downloaded app? I'm almost finished with the rework of the section that will allow me to add this feature. If you're running the app from the terminal, I should be able to get the CSV export feature ready for you by the end of the week. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I am running it by launching VesselVio.py from within a python environment.
and then I can just open the GRAPHML in R, and extract the coordinates, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to export a list of all the coordinates of branchpoints / endpoints? Thank you for any consideration or tips.
Is there an array which contains the XYZ positions of branching points I can export? what would be its name?
Beta Was this translation helpful? Give feedback.
All reactions