plotDistances {SpatialDDLS}R Documentation

Plot distances between intrinsic and extrinsic profiles

Description

Color spots on the spatial coordinates according to distances between intrinsic and extrinsic transcriptional profiles.

Usage

plotDistances(
  object,
  index.st,
  mid.scale = "mean",
  size.point = 1,
  title = NULL,
  theme = NULL
)

Arguments

object

A SpatialDDLS object.

index.st

Index of the spatial transcriptomics data to be plotted. It can be either a position or a name if a named list was provided.

mid.scale

The midpoint of the diverging scale. it may be 'mean' or 'median' (the former by default).

size.point

Size of points (0.1 by default).

title

Title of plot.

theme

ggplot2 theme.

Value

A ggplot object.

See Also

deconvSpatialDDLS trainDeconvModel


[Package SpatialDDLS version 1.0.2 Index]