Learn R Programming

Seurat (version 4.3.0.1)

AnnotateAnchors: Add info to anchor matrix

Description

Add info to anchor matrix

Usage

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, ... )

Value

Returns the anchor dataframe with additional columns for annotation metadata

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