Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(1)  |  Derive(0)  |  Import(4)

src/c/g/cgat-HEAD/scripts/optic/prune_multiple_alignment.py   cgat(Download)
            features[y][x] = weight
 
    result = Bio.Cluster.treecluster(distancematrix=features)
    assignments = result.cut(nclusters)
 

src/b/i/biopython-HEAD/Tests/test_Cluster.py   biopython(Download)
    def test_matrix_parse(self):
        if TestCluster.module=='Bio.Cluster':
            from Bio.Cluster import treecluster
        elif TestCluster.module=='Pycluster':
            from Pycluster import treecluster
    def test_treecluster(self):
        if TestCluster.module=='Bio.Cluster':
            from Bio.Cluster import treecluster
        elif TestCluster.module=='Pycluster':
            from Pycluster import treecluster

src/b/i/biopython-1.63/Tests/test_Cluster.py   biopython(Download)
    def test_matrix_parse(self):
        if TestCluster.module=='Bio.Cluster':
            from Bio.Cluster import treecluster
        elif TestCluster.module=='Pycluster':
            from Pycluster import treecluster
    def test_treecluster(self):
        if TestCluster.module=='Bio.Cluster':
            from Bio.Cluster import treecluster
        elif TestCluster.module=='Pycluster':
            from Pycluster import treecluster