Cnv.violinplot#
missionbio.mosaic.cnv.Cnv.violinplot
- Cnv.violinplot(attribute, splitby=None, features=None, title='')#
Violin plot for all barcodes.
- Parameters:
- attributestr / np.array
The attribute used to plot the values on the violinplot. Uses
get_attribute()
to retrieve the values. constrained by row.- splitbystr / np.array
The values used to split and color the violinplot. Uses
get_attribute()
to retrieve the values. The shape must be (#cells).- None
The violinplot is not colored.
- Any 1D attribute
In case ‘label’ is provided then the stored paltte is used. A discrete color map is used for all other cases.
- 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:
- figplotly.graph_objects.Figure
< Class Cnv