Create an auxiliary AzimuthData object for storing necessary info when generating an Azimuth reference.

CreateAzimuthData(
  object,
  plotref = "umap",
  plot.metadata = NULL,
  colormap = NULL,
  reference.version = "0.0.0"
)

Arguments

object

Seurat object

plotref

Either the name of the DimReduc in the provided Seurat object to use for the plotting reference or the DimReduc object itself.

plot.metadata

A data.frame of discrete metadata fields for the cells in the plotref.

colormap

A list of named and ordered vectors specifying the colors and levels for the metadata. See CreateColorMap for help generating your own.

reference.version

Version of the Azimuth reference

Value

Returns an AzimuthData object