Dna.stripplot#
missionbio.mosaic.dna.Dna.stripplot
- Dna.stripplot(attribute, colorby=None, features=None, title='')#
Strip plot for all barcodes.
Generates a strip plot for the given ids (x-axis), and shows the layer (y-axis) and color_layer (color) for all barcodes. Additional lateral jitter is added to help visualize the distribution.
- Parameters:
- attributestr / np.ndarray
The attribute used to plot the values on the ridgeplot. Uses
get_attribute()
to retrieve the values. constrained by ‘row’.- colorbystr / np.ndarray
The values used to color the stripplot. Uses
_Assay.get_attribute()
to retrieve the values constrained by ‘row’. It must be the same shape as attribute.- featureslist-like
In the case that attribute is a layer then features sets the subset of features to plot. Otherwise, it sets the name of each feature shown.
- titlestr
The title given to the plot after the name of the assay.
- Returns:
- fig: plotly.graph_objects.Figure
< Class Dna