Add info to anchor matrix

AnnotateAnchors(anchors, vars, slot, ...)

# S3 method for default
AnnotateAnchors(
  anchors,
  vars = NULL,
  slot = NULL,
  object.list,
  assay = NULL,
  ...
)

# S3 method for IntegrationAnchorSet
AnnotateAnchors(
  anchors,
  vars = NULL,
  slot = NULL,
  object.list = NULL,
  assay = NULL,
  ...
)

# S3 method for TransferAnchorSet
AnnotateAnchors(
  anchors,
  vars = NULL,
  slot = NULL,
  reference = NULL,
  query = NULL,
  assay = NULL,
  ...
)

Arguments

anchors

An AnchorSet object

vars

Variables to pull for each object via FetchData

slot

Slot to pull feature data for

...

Arguments passed to other methods

object.list

List of Seurat objects

assay

Specify the Assay per object if annotating with expression data

reference

Reference object used in FindTransferAnchors

query

Query object used in FindTransferAnchors

Value

Returns the anchor dataframe with additional columns for annotation metadata