as.alterations {TRONCO} | R Documentation |
Return a dataset where all events for a gene are merged in a unique event, i.e.,
a total of gene-level alterations diregarding the event type. Input 'x' is checked
to be a TRONCO compliant dataset - see is.compliant
.
as.alterations(x, new.type = "Alteration", new.color = "khaki", silent = FALSE)
x |
A TRONCO compliant dataset. |
new.type |
The types label of the new event type, 'Alteration' by default. |
new.color |
The color of the event |
silent |
A parameter to disable/enable verbose messages. |
A TRONCO compliant dataset with alteration profiles.
data(muts) as.alterations(muts)