dandelion.base.core.Dandelion.add_cell_prefix

Dandelion.add_cell_prefix(prefix, sync=True, remove_trailing_hyphen_number=False, **kwargs)[source]

Add prefix to cell_id and optionally to sequence_id.

Parameters:
  • prefix (str) – Prefix to add to the IDs.

  • sync (bool, optional) – Whether to apply the same prefix to sequence_id, by default True.

  • remove_trailing_hyphen_number (bool, optional) – Whether to remove trailing hyphen numbers before adding prefix, by default False.

  • **kwargs – Additional arguments to pass to the update_metadata method

Return type:

None