itpseq.Replicate.rename#
- Replicate.rename(name=None)[source]#
Sets the name of the replicate from a parameter or automatically.
- Parameters:
name (str, optional) – name to use as the new name for the replicate.
Examples
- Rename the replicate with a parameter
>>> rep.rename(name='new_name')
- Rename the replicate automatically from its parent sample data
>>> rep.rename()