selectGroups: Select groups

View source: R/sortSamples.R

selectGroupsR Documentation

Select groups

Description

Select groups

Usage

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

Arguments

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

Value

modified group membership vector


hallucigenia-sparsa/seqgroup documentation built on July 6, 2022, 1:11 p.m.