Remove groups that have metadata items with missing values

removeGroupsWithMissingValues(data, groups = c())

Arguments

data

a metadata matrix with rows as samples and columns as items or a dataframe with metadata items as columns

groups

group membership vector with as many entries as samples

Value

a vector with indices of samples without problematic groups