Match the user-defined interesting groups to the values slotted within a
SummarizedExperiment
object, and check that they are valid. Otherwise
supports a missing interestingGroups
argument, which will then use the
interestingGroups
accessor function internally.
Arguments
- object
SummarizedExperiment
.- interestingGroups
character
. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.
Examples
data(RangedSummarizedExperiment, package = "AcidTest")
rse <- RangedSummarizedExperiment
matchInterestingGroups(rse)
#> [1] "condition"
matchInterestingGroups(rse, interestingGroups = NULL)
#> [1] "condition"
matchInterestingGroups(rse, interestingGroups = substitute())
#> [1] "condition"