join.events {TRONCO} | R Documentation

## join.events

### Description

Merge a list of events in an unique event

### Usage

    join.events(x, ..., new.event, new.type, event.color)

### Arguments

`x` | A TRONCO compliant dataset.
`...` | A list of events to merge
`new.event` | The name of the resultant event
`new.type` | The type of the new event
`event.color` | The color of the new event

### Value

A TRONCO compliant dataset.

### Examples

    data(muts)
    dataset = join.events(muts, 'G1', 'G2', new.event='test', new.type='banana', event.color='yellow')

[Package TRONCO version 2.20.1 Index]