Learn R Programming

TRONCO (version 2.4.2)

join.types: 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

Run this code
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')

Run the code above in your browser using DataLab