Prevent unwanted downstream behavior when a missing interesting group is requested by the user.

matchesInterestingGroups(x, interestingGroups,
  .xname = getNameInParent(x))

Arguments

x

S4 class.

interestingGroups

character. Interesting groups.

.xname

Not intended to be used directly.

Value

No value.

Examples

data(rse, package = "acidtest") ## Checks that columns are defined in `sampleData()`. matchesInterestingGroups(rse, "condition")
#> [1] TRUE
## Currently allowing `NULL` to pass. matchesInterestingGroups(rse, NULL)
#> [1] TRUE