_Assay.add_col_attr
_Assay.add_col_attr#
- _Assay.add_col_attr(name: str, value: numpy.ndarray) None #
Add column 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 column in the assay
- Raises:
- ValueError: if value does not have the same number of elements
as number of rows in the assay