nevents {TRONCO} | R Documentation

## nevents

### Description

Return the number of events in the dataset involving a certain gene or type of event.

### Usage

    nevents(x, genes = NA, types = NA)

### Arguments

`x` | A TRONCO compliant dataset.
`genes` | The genes to consider, if NA all available genes are used.
`types` | The types of events to consider, if NA all available types are used.

### Value

The number of events in the dataset involving a certain gene or type of event.

### Examples

    data(test_dataset)
    nevents(test_dataset)

[Package TRONCO version 2.10.3 Index]