binarize_rdp¶
- binarize_rdp(netin, level, sign='pos', axis='time')[source]¶
Binarizes a network based on RDP compression.
- Parameters:
netin (array or dict) – Network (graphlet or contact representation),
level (float) – Delta parameter which is the tolorated error in RDP compression.
sign (str, default='pos') – States the sign of the thresholding. Can be ‘pos’, ‘neg’ or ‘both’. If “neg”, only negative values are thresholded and vice versa.
- Returns:
netout – Binarized network
- Return type:
array or dict (dependning on input)