CreateAzimuthData: Create an 'AzimuthData' object

View source: R/azimuth.R

CreateAzimuthDataR Documentation

Create an AzimuthData object

Description

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

Usage

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


satijalab/azimuth documentation built on Nov. 19, 2023, 8:34 a.m.