Protein.add_row_attr

Protein.add_row_attr#

missionbio.mosaic.protein.Protein.add_row_attr

Protein.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 Protein