I was doing some analysis of bacterial images, and searching for the best way to plot a tree with the mother cells and the daughter cells and found the graphviz. I got the plot I wanted following the example, but I had some problems:
I would like to extract the information used in this plot, the connections between the cells, I tried and I couldn’t and I didn’t find how to do it. Looking at stackoverflow it is suggested to use a ‘cliptree’ file that does exactly what I want, lists with each hierarchy found (https://stackoverflow.com/questions/63404997/how-to-get-edges-as-list-from-graphviz-file). I didn’t find this file in my installation and I couldn’t use the other suggestions.
Another point, is there any way to prune the plot? I have a very big dataset and the plot is getting unfeasible, I would like to plot only the nodes with a certain len. I attached the plot from my data unix.gv.pdf (248.6 KB).
I know it may sound simple, but I would really appreciate the support.