select a subset of the input genotypes 'x'. Selection can be done by frequency and gene symbols.
events.selection(
x,
filter.freq = NA,
filter.in.names = NA,
filter.out.names = NA,
silent = FALSE
)
A TRONCO compliant dataset.
data(test_dataset)
dataset = events.selection(test_dataset, 0.3)
#> *** Events selection: #events = 30 , #types = 5 Filters freq|in|out = { TRUE , FALSE , FALSE }
#> Minimum event frequency: 0.3 ( 12 alterations out of 40 samples).
#> ..............................
#> Selected events.
#>
#> Selected 1 events, returning.