Protein.set_labels¶
-
Protein.
set_labels
(clusters, others_label='others')¶ Set the labels for the barcodes.
Modifies the id row attribute of the assay.
- Parameters
- clusterslist or dictionary
If a list, then the order of the barcodes should be considered because the labels are set in the same order as the order of barcodes.
- others_labelstr
In case not all barcodes are labeled, then this is the label of the remaining barcodes.