join.types {TRONCO} | R Documentation |
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)
join.types(x, ..., new.type = "new.type", new.color = "khaki", silent = FALSE)
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. |
A TRONCO compliant dataset.
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')