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')

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)
#> [1] FALSE