dandelion.tools.clone_size¶
-
dandelion.tools.
clone_size
(self, max_size=None, clone_key=None, key_added=None)[source]¶ Quantifies size of clones
- Parameters
self (Dandelion) – Dandelion object
max_size (int, optional) – The maximum size before value gets clipped. If None, the value will be returned as a numerical value.
clone_key (str, optional) – Column name specifying the clone_id column in metadata.
key_added (str, optional) – column name where clone size is tabulated into.
- Returns
- Return type
Dandelion object with clone size columns annotated in .metadata slot.