Retrieves all sets of indices belonging to a particular acronym

seg_select_str(segmentation, structures, group_first = TRUE)

Arguments

segmentation

a segmentation class object.

structures

character, vector containing one or more structure acronyms

group_first

logical, should priority be given to the group of structures or to the structure with the same acronym? Default is TRUE (prioritizing the group)

Value

a vector containing the indices of the structures