Dna.find_clones#

Dna.find_clones(similarity: float = 0.8, **kwargs: Any) None#

Identify clones based on VAF.

Labels the barcodes based on a UMAP-dbscan clustering, and then merges similar clusters. Adds a row_attrs id.

Parameters
similarityfloat [0, 1]

The proportion of variants that must be similar to combine multiple clusters into one or to identify mixed cell line populations.

kwargsdict

Keyword arguments passed to missionbio.mosaic.dna.Dna.run_umap

Warns
A warning is raised when the pre-existing “umap” row
attribute is used to cluster instead of creating a
new projection.