mapSpatialAnnotationTags.Rd
Creates a data.frame that maps the tags of spatial annotations to the barcodes that were covered by the spatial extent of the respective spatial annotation.
mapSpatialAnnotationTags(
object,
ids = NULL,
tags = NULL,
merge = TRUE,
merge_name = "spat_annotations",
merge_missing = "none",
merge_sep = "_",
merge_drop = FALSE
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character vector or NULL
. If character, the tags for the image annotation
selection. See section Selection of spatial annotations for more information.
Logical value. If TRUE, the results are merged in a single variable.
Character value. The name of the merged variable.
Character value. The value that is assigned to barcodes that do not fall in the extent of any image annotation.
Character value. The string with which the image annotation tags are separated with while being merged.
Logical value. If TRUE and merge
is TRUE, all image-annotation-
tag-variables are dropped.
A data.frame.