Skip to contents

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.

Usage

matchInterestingGroups(object, interestingGroups = NULL)

Arguments

object

SummarizedExperiment.

interestingGroups

character. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.

Value

character. Interesting groups.

Note

Updated 2019-07-28.

Examples

data(RangedSummarizedExperiment, package = "AcidTest")
rse <- RangedSummarizedExperiment
matchInterestingGroups(rse)
#> [1] "condition"
matchInterestingGroups(rse, interestingGroups = NULL)
#> [1] "condition"
matchInterestingGroups(rse, interestingGroups = substitute())
#> [1] "condition"