Protein.add_row_attr#

Protein.add_row_attr(name: str, value: numpy.ndarray) None#

Add row attribute to the assay

Verifies that the value has expected number of elements

Args:

name: name of the attribute value: array with a value for each row in the assay

Raises:
ValueError: if value does not have the same number of elements

as number of rows in the assay