Module: cluster

In this module are all the functions to identify clusters in a given contact map. A cluster is a set of contacts which are directly or indirectly (chain of direct contacts) connected.

Members

BioHelpers_FABER.cluster.findCluster(x: array) list

Identifying all clusters.

Parameters:

x (np.array) – contact map

Returns:

list of clusters [cluster1, cluster2, …] where clusterX of the form [[x1,y1],[x2,y2],…]

Return type:

list