has.duplicates {TRONCO} | R Documentation

## has.duplicates

### Description

Return true if there are duplicated events in the TRONCO dataset 'x', which should be a TRONCO compliant dataset - see `is.compliant`. Events are identified by a gene name, e.g., a HuGO_Symbol, and a type label, e.g., c('SNP', 'KRAS')

### Usage

    has.duplicates(x)

### Arguments

`x` | A TRONCO compliant dataset.

### Value

TRUE if there are duplicated events in `x`.

### Examples

    data(test_dataset)
    has.duplicates(test_dataset)

[Package TRONCO version 2.26.0 Index]