Dna.feature_scatter

Dna.feature_scatter#

missionbio.mosaic.dna.Dna.feature_scatter

Dna.feature_scatter(layer: Union[str, ndarray], ids: Sequence, **kwargs: Any) Figure#

Extends feature_scatter()

Add jitter for NGT, AF, and AF_MISSING layers.

Plot for given data across 2 ids.

This is the typical biaxial plot seen in protein expression analysis.

Parameters:
layerstr / np.array

The layer to use for the values that are plotted on the biaxial plot. Uses _Assay.get_attribute() to retrieve the value constrained by row+col.

ids2-tuple

The x and y coordinates.

kwargsdict

Passed to missionbio.mosaic.assay._Assay.scatterplot()

Returns:
figplotly.graph_objs.figure

< Class Dna