Sample.rename#
missionbio.mosaic.sample.Sample.rename
- Sample.rename(new_name, old_name: Optional[str] = None)#
 Modifies the name of the sample.
- Parameters:
 - new_namestr
 The new name of the sample
- old_namestr
 The old name of the sample. Only required when the assays contain more than one sample.
Notes
This also modifies the metadata of the assays
< Class Sample