join.types: join.types

Description Usage Arguments Value Examples

View source: R/editing.functions.R

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

1
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

1
2
3
4
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')

TRONCO documentation built on Nov. 8, 2020, 5:51 p.m.