示例#1
0
 print "output file also written to temp.tab.txt and temp.animation.py"
 matchList = tm3.findSimilarNodes(
     tmDataList,
     [
         "Surface Area",
         "Volume",
         "height",
         # "mean absolute Curvature",
         "mean Curvature",
         "mouths",
         "longest dimension",
         "middle dimension",
         "short dimension",
         "Area of Biggest Mouth",
         "Diameter of Biggest Mouth",
         "mean height",
     ],
     10000000,
     1000,
     50,
     resCols=["Atom Name List"],
     sizeColName="Volume",
     sizeMin=-1.0,
     sizeMax=1000000000000,
     doSelfScore=False,
     justNodes=dotData.treeToBestNode,
     mst=True,
     lineMst=False,
     lineMstEnds=False,
 )
 # linemstends doesn't work that well so disabled for now
    filenames.sort()  # so coloring is consistent
    for filename in filenames:
        tmDataList.append(tm3.tmTreeFromFile(filename))
    tm3.findSimilarNodes(
        tmDataList,
        [
            "Surface Area",
            "Volume",
            "height",
            "mean Curvature",
            "mouths",
            "longest dimension",
            "middle dimension",
            "short dimension",
            "Area of Biggest Mouth",
            "Diameter of Biggest Mouth",
            "mean height",
        ],
        100000,
        20000,
        1000,
        resCols=["Atom Name List"],
        sizeColName="Volume",
        sizeMin=25,
        sizeMax=2000,
        calcColMeansStd=False,
        alpha=alpha,
        clusterOutput=True,
        printThings=False,
    )