Dna.add_layer#
missionbio.mosaic.dna.Dna.add_layer
- Dna.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 Dna