Return the list of types present in selected patterns
as.types.in.patterns(x, patterns = NULL)
A list of types present in patterns which consitute CAPRI's hypotheses
data(test_dataset)
as.types.in.patterns(test_dataset)
#> [1] "ins_del" "missense_point_mutations"
#> [3] "nonsense_point_mutations"
as.types.in.patterns(test_dataset, patterns='XOR_EZH2')
#> [1] "ins_del" "missense_point_mutations"
#> [3] "nonsense_point_mutations"