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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/r/d/rdbio-scripts-HEAD/sequenceFiles/random-intersection-pipeline.py   rdbio-scripts(Download)
# 3rd-party
from ruffus import *
from Bio.Cluster import kcluster
from scipy import stats
from pylab import *
        print 'Clustering...'
        sys.stdout.flush()
        clusterid,error,nfound = kcluster(self.z,transpose=transpose,nclusters=nclusters,npass=npass,initialid=initialid)
 
        if add_means:

src/b/c/bcbb-HEAD/rest_apis/uniprot_query_cluster.py   bcbb(Download)
    # cluster and print out cluster details
    term_matrix, uniprot_ids = organize_term_array(cur_db)
    cluster_ids, error, nfound = Cluster.kcluster(term_matrix,
            nclusters=10, npass=20, method='a', dist='e')
    cluster_dict = collections.defaultdict(lambda: [])

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

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