Get pool set from a Matched object
pool(x, ...)
# S4 method for MDF_OR_MGR_OR_MGI
pool(x, ...)
A MatchedDataFrame
, MatchedGRanges
,
or MatchedGInteractions
object.
Additional options.
An object of the same class as x
representing
the pool set.
set.seed(123)
x <- makeExampleMatchedDataSet(matched = TRUE)
pool(x)
#> DataFrame with 10000 rows and 3 columns
#> feature1 feature2 feature3
#> <logical> <numeric> <character>
#> 1 FALSE 3.28347 e
#> 2 FALSE 7.12640 a
#> 3 FALSE 1.92222 b
#> 4 FALSE 10.24116 a
#> 5 FALSE 10.17287 c
#> ... ... ... ...
#> 9996 FALSE 1.23578 b
#> 9997 FALSE 1.69671 a
#> 9998 FALSE 6.11140 a
#> 9999 FALSE 2.21657 d
#> 10000 FALSE 5.33003 b