Dna.find_clones

Dna.find_clones(similarity=0.8, **kwargs)

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 so as to combine multiple clusters into one or to identify mixed cell line populations.

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