Return the list of genes present in selected patterns

as.genes.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 genes present in patterns which consitute CAPRI's hypotheses

Examples

data(test_dataset)
as.genes.in.patterns(test_dataset)
#> [1] "EZH2"  "CSF3R"
as.genes.in.patterns(test_dataset, patterns='XOR_EZH2')
#> [1] "EZH2"