Cnv.drop#

Cnv.drop(values, value_type=None)#

Drops the given values from the assay.

Parameters
valueslist-like

The values that are to be dropped, which could be barcodes or ids.

value_typestr

Accepted values are id, barcode, and None. When None, the type is guessed based on the values.

Returns
missionbio.mosaic.assay._Assay

A copy of itself with the relevant ids removed.

Raises
ValueError

Raise when the type of the value (barcode or id) is not determinable, and value_type is expected.