muon.pl.scatter
muon.pl.scatter#
- muon.pl.scatter(data: Union[anndata._core.anndata.AnnData, mudata._core.mudata.MuData], x: Optional[str] = None, y: Optional[str] = None, color: Optional[Union[str, Sequence[str]]] = None, use_raw: Optional[bool] = None, layers: Optional[Union[str, Sequence[str]]] = None, **kwargs)#
Scatter plot along observations or variables axes. Variables in each modality can be referenced, e.g.
"rna:X_pca"
.See
scanpy.pl.scatter()
for details.- Parameters
data (Union[AnnData, MuData]) – MuData or AnnData object
x (Optional[str]) – x coordinate
y (Optional[str]) – y coordinate
color (Optional[Union[str, Sequence[str]]], optional (default: None)) – Keys for variables or annotations of observations (.obs columns), or a hex colour specification.
use_raw (Optional[bool], optional (default: None)) – Use .raw attribute of the modality where a feature (from color) is derived from. If None, defaults to True if .raw is present and a valid layer is not provided.
layers (Optional[Union[str, Sequence[str]]], optional (default: None)) – Names of the layers where x, y, and color come from. No layer is used by default. A single layer value will be expanded to [layer, layer, layer].