_Assay.add_row_attr#
missionbio.mosaic.assay._Assay.add_row_attr
- _Assay.add_row_attr(name: str, value: ndarray) None #
Add row attribute to the assay
Verifies that the value has expected number of elements
- Parameters:
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
< Class _Assay