_Assay.signaturemap#

_Assay.signaturemap(attribute: Union[str, numpy.ndarray], kind: str = 'median', nan_value: Optional[float] = None, features: Optional[Sequence] = None, x_groups: Optional[Sequence] = None) plotly.graph_objs._figure.Figure#

Flattened heatmap

Parameters
attributeUnion[str, np.ndarray]

The attribute whose signature is to be plotted. This is passed to _Assay.signature() as is.

kindstr - [“median”, “mode”, “std”, “mean”]

The kind of signature to plot. This is passed to _Assay.signature() as is.

nan_valueOptional[float]

The value in the attribute that is converted to NaN. This is passed to _Assay.signature() as is.

featuresOptional[Sequence]

The subset of the list of ids to show on the plot

x_groupsOptional[Sequence]

The label for each column. These must be contiguous. For example, [“1”, “2”, “2”] is permitted, but [“1”, “2”, “1”] is not. If None, then all the xaxis labels are plotted.