Select groups

selectGroups(
groups = c(),
selected.groups = c(),
inverse = FALSE,
returnIndex = FALSE
)

Arguments

groups membership vector with as many entries as samples names of groups to keep keep groups that are not in selected groups return the indices of the selected samples

Value

modified group membership vector