countImageAnnotationTags.RdCounts image annotations by tags. See details for more information.
countImageAnnotationTags(object, tags = NULL, collapse = " & ")An object of class SPATA2 or, in case of S4 generics,
objects of classes for which a method has been defined.
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