Package SloppyCell :: Package Vandermonde :: Module clusterScripts
[hide private]

Module clusterScripts

source code

Functions [hide private]
 
getDist(ind1, ind2, distMat)
distMat is a distance matrix.
source code
 
FlattenIt(x, distMat)
Takes topo output from hierarchical clustering and orders the list at the bottom level to correspond to the optimal permutation.
source code
 
makePermutationMatrix(permList)
Takes a list defining the permutation and makes the appropriate matrix.
source code
 
normColumns(mat1)
Normalizes each column of a matrix.
source code
 
colorAlignColumns(mat1)
Multiplies columns by +/- 1 to make them have positive dot product with neighboring columns.
source code

Imports: scipy


Function Details [hide private]

getDist(ind1, ind2, distMat)

source code 

distMat is a distance matrix.  distMat[i,j] == distance from i to j

normColumns(mat1)

source code 

Normalizes each column of a matrix.  So far just for display purposes.

colorAlignColumns(mat1)

source code 

Multiplies columns by +/- 1 to make them have positive dot product with neighboring
columns.  So far just for display purposes.