Get matched set from a Matched object

matched(x, ...)

# S4 method for class 'MDF_OR_MGR_OR_MGI'
matched(x, ...)

Arguments

x

A MatchedDataFrame, MatchedGRanges, or MatchedGInteractions object.

...

Additional options.

Value

An object of the same class as x representing the matched set.

Examples

set.seed(123)
x <- makeExampleMatchedDataSet(matched = TRUE)
matched(x)
#> DataFrame with 500 rows and 3 columns
#>      feature1  feature2    feature3
#>     <logical> <numeric> <character>
#> 1       FALSE   5.27263           c
#> 2       FALSE  10.02427           c
#> 3       FALSE   8.19732           a
#> 4       FALSE   7.83727           c
#> 5       FALSE   4.69472           c
#> ...       ...       ...         ...
#> 496     FALSE   1.95550           a
#> 497     FALSE   4.98042           c
#> 498     FALSE   2.62560           e
#> 499     FALSE   1.40300           c
#> 500     FALSE   3.89279           b