Entering edit mode
                    11.5 years ago
        a1ultima
        
    
        ▴
    
    890
    I have a matrix that represents presence/absence of some character (rows) in a list of species (columns), e.g.
     species 1  species 2  species3
1    0          0          1
2    0          1          1
3    0          1          0
4    0          0          0
5    0          0          0
6    0          0          0
7    0          1          0
8    0          1          0
9    0          0          1
10   0          0          0
Is there a way I that can process this into a hierarchical tree such that similar rows group closer together?
In order of preference, I would hope that the solution comes in either:
- A python/R script
- A python/R package that I can make a script from
- Linux command-line software
- Webtool
that was brill thanks!