join.types {TRONCO} | R Documentation

## join.types

### Description

For an input dataset merge all the events of two or more distincit types (e.g., say that missense and indel mutations are events of a unique "mutation" type)

### Usage

    join.types(x, ..., new.type = "new.type", new.color = "khaki", silent = FALSE)

### Arguments

`x` | A TRONCO compliant dataset.
`...` | type to merge
`new.type` | label for the new type to create
`new.color` | color for the new type to create
`silent` | A parameter to disable/enable verbose messages.

### Value

A TRONCO compliant dataset.

### Examples

    data(test_dataset_no_hypos)
    join.types(test_dataset_no_hypos, 'ins_del', 'missense_point_mutations')
    join.types(test_dataset_no_hypos, 'ins_del',
         'missense_point_mutations', new.type='mut', new.color='green')

[Package TRONCO version 2.24.0 Index]