_Assay.add_layer

_Assay.add_layer#

missionbio.mosaic.assay._Assay.add_layer

_Assay.add_layer(name: str, array: ndarray) None#

Add layer to the assay

All layers need to have the same dimension

Parameters:
  • name – name of the attribute

  • array – array with layer values

Raises:

ValueError – if array has different shape than existing layers


< Class _Assay