GroupByGenotype.rename_labels#
missionbio.mosaic.algorithms.group_by_genotype.GroupByGenotype.rename_labels
- GroupByGenotype.rename_labels(label_map: dict)#
Change the name of the labels so that it can be updated in the plot.
- Parameters:
- label_mapdictionary
The key is the existing name of the label, and the value is the new name of the label.
- Raises:
- ValueError
When one of the label_map values is already present in the labels_
< Class GroupByGenotype