_Assay.ridgeplot#
missionbio.mosaic.assay._Assay.ridgeplot
- _Assay.ridgeplot(attribute, splitby=None, features=None, title='')#
 Ridge plot for all barcodes.
- Parameters:
 - attributestr / np.ndarray
 The attribute used to plot the values on the ridgeplot. Uses
get_attribute()to retrieve the values. constrained by row.- splitbystr / np.ndarray
 The values used to split and color the ridgeplot. Uses
get_attribute()to retrieve the values. The shape must be (#cells).- None
 The ridgeplot 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:
 - fig: plotly.graph_objects.Figure