Protein.rename_labels#

Protein.rename_labels(label_map)#

Change the name of the labels.

Parameters
label_mapdictionary

The key is the existing name of the label, and the value is the new name of the label.