Return the list of types present in selected patterns

as.types.in.patterns(x, patterns = NULL)

Arguments

x

A TRONCO compliant dataset.

patterns

A list of patterns for which the list will be returned

Value

A list of types present in patterns which consitute CAPRI's hypotheses

Examples

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"