Protein.rename_sample#
missionbio.mosaic.protein.Protein.rename_sample
- Protein.rename_sample(old_name: str, new_name: str) None #
Rename sample to a new_name
- Parameters:
old_name – name of the sample to rename
new_name – new sample name
- Raises:
ValueError – when old_sample does not exist or new_sample already exists
< Class Protein