selectGroups.RdSelect groups
selectGroups( groups = c(), selected.groups = c(), inverse = FALSE, returnIndex = FALSE )
| groups | membership vector with as many entries as samples |
|---|---|
| selected.groups | names of groups to keep |
| inverse | keep groups that are not in selected groups |
| returnIndex | return the indices of the selected samples |
modified group membership vector