Dna.merge_similar_clusters#

Dna.merge_similar_clusters(layer, similarity=0.8)#

Merge similar clusters while ignoring missing data.

Parameters
layerstr

The layer with the VAF data.

similarityfloat [0, 1]

The proportion of variants that must be similar so as to combine multiple clusters into one cluster.