Description Usage Arguments Value Examples
Given a cohort and a pathway, return the cohort with events restricted to genes involved in the pathway. This might contain a new 'pathway' genotype with an alteration mark if any of the involved genes are altered.
| 1 2 3 4 5 6 7 8 | as.pathway(
  x,
  pathway.genes,
  pathway.name,
  pathway.color = "yellow",
  aggregate.pathway = TRUE,
  silent = FALSE
)
 | 
| x | A TRONCO compliant dataset. | 
| pathway.genes | Gene (symbols) involved in the pathway. | 
| pathway.name | Pathway name for visualization. | 
| pathway.color | Pathway color for visualization. | 
| aggregate.pathway | If TRUE drop the events for the genes in the pathway. | 
| silent | A parameter to disable/enable verbose messages. | 
Extract the subset of events for genes which are part of a pathway.
| 1 2 | data(test_dataset)
p = as.pathway(test_dataset, c('ASXL1', 'TET2'), 'test_pathway')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.