dandelion.polars.core.Dandelion.add_cell_suffix

Dandelion.add_cell_suffix(suffix, sync=True, remove_trailing_hyphen_number=False, **kwargs)

Add suffix to cell_id and optionally to sequence_id.

Parameters:
  • suffix (str) – Suffix to add to the IDs.

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

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

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

Return type:

None