Protein.read_depth_dependence

Protein.read_depth_dependence#

missionbio.mosaic.protein.Protein.read_depth_dependence

Protein.read_depth_dependence(ab: str, colorby: Union[str, ndarray, DataFrame] = 'density') FigureWidget#

Scatter plot of the read depth dependence of an antibody.

Parameters:
abstr

The antibody to plot.

colorbystr / np.ndarray

The attribute to color the plot by. This is passed to missionbio.mosaic.assay._Assay.scatterplot(). See its documentation for all the available options.

Returns:
figplotly.graph_objects.FigureWidget

This figure can be used to label barcodes, just like any other scatterplot.


< Class Protein