countImageAnnotationTags.Rd
Counts image annotations by tags. See details for more information.
countImageAnnotationTags(object, tags = NULL, collapse = " & ")
An object of class spata2
.
Character vector or list or NULL. If character vector only image annotations that pass the "tag test" are included in the counting process. If list, every slot should be a character vector of tag names that are counted as combinations.
Characer value. Given to argument collapse
of
sttringr::str_c()
if input for argument tags
is a list.
A data.frame with two variables: tags and n