Re: [Bioc-devel] Python Z trees to hclust

2019-11-14 Thread Bernat Gel Moreno
Hi Peter, Thanks for the advice and pointers to the relevant files. After reading the Fortran code and thinking about it I ended up coding from scratch my own pure R function to set the plotting order of an hclust object. It might not be as fast as the Fortran implementation, but it works prett

Re: [Bioc-devel] Python Z trees to hclust

2019-08-03 Thread Peter Langfelder
Hi Bernat, my advice may not be that useful, but it may be better than the silence so far... Regarding the ordering of objects in hclust, if you're willing to do a bit of hacking, have a look at the stats::hclust function; you will see that the ordering is computed by a call to Fortran function h

[Bioc-devel] Python Z trees to hclust

2019-07-30 Thread Bernat Gel Moreno
Hi, For one of our packages (CopyNumberPlots) we'll need to read 10X CNV data in H5 format. I've read in everything I need except for the cell clustering tree. It's in a format called Z format produced by SciPy hierarchical clustering. The format itself is relatively easy to parse and not so d