Dna.merge_similar_clusters#
missionbio.mosaic.dna.Dna.merge_similar_clusters
- Dna.merge_similar_clusters(layer: str, similarity: float = 0.8) None #
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 to combine multiple clusters into one cluster.
< Class Dna