as.events | R Documentation |
Return all events involving certain genes and of a certain type in 'x', which should be a
TRONCO compliant dataset - see is.compliant
.
as.events(x, genes = NA, types = NA, keysToNames = FALSE)
x |
A TRONCO compliant dataset. |
genes |
The genes to consider, if NA all available genes are used. |
types |
The types of events to consider, if NA all available types are used. |
keysToNames |
If TRUE return a list of mnemonic name composed by type + gene |
A matrix with 2 columns (event type, gene name) for the events found.
data(test_dataset)
as.events(test_dataset)
as.events(test_dataset, types='ins_del')
as.events(test_dataset, genes = 'TET2')
as.events(test_dataset, types='Missing')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.