Return the number of genes in the dataset involving a certain type of event.

ngenes(x, types = NA)

Arguments

x

A TRONCO compliant dataset.

types

The types of events to consider, if NA all available types are used.

Value

The number of genes in the dataset involving a certain type of event.

Examples

data(test_dataset)
ngenes(test_dataset)
#> [1] 21