countImageAnnotationTags: Count image annotation tags

countImageAnnotationTagsR Documentation

Count image annotation tags

Description

Counts image annotations by tags. See details for more information.

Usage

countImageAnnotationTags(object, tags = NULL, collapse = " & ")

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

tags

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.

collapse

Characer value. Given to argument collapse of sttringr::str_c() if input for argument tags is a list.

Value

A data.frame with two variables: tags and n


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.