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