--- title: "Import/export from other tools" author: - Luca De Sano - Daniele Ramazzotti - Giulio Caravagna - Alex Graudenxi - Marco Antoniotti date: "`r format(Sys.time(), '%B %d, %Y')`" graphics: yes package: TRONCO output: BiocStyle::html_document: toc_float: true vignette: > %\VignetteIndexEntry{Import/export from other tools} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} %\VignetteDepends{TRONCO,BiocStyle} --- ```{r, include=FALSE} library(TRONCO) data(aCML) data(crc_maf) data(crc_gistic) data(crc_plain) ``` We implemented the interface of TRONCO with other tools to support the *Pipeline for Cancer Inference PiCnIc*, our attempt at devise an effective pipeline to extract ensemble-level cancer progression models from cross-sectional data. PiCnIc is versatile, modular and customizable and exploits state-of-the-art data processing and machine learning tools to: - identify tumor subtypes and then in each subtype; - select (epi)genomic events driving the progression; - identify groups of events that are likely to be observed as mutually exclusive; - infer progression models from groups and such data, and annotate them with associated statistical confidence. The algorithms for cancer progression inference exploited by PicNiC are implemented within TRONCO, the other steps of the pipeline rely on dedicated tools (for clustering, drivers selection and exclusiviyt groups detection). The tools that PicNiC can exploit are of different nature, and we plan to interface them with TRONCO as far as our case studies are developed. The current version of TRONCO supports input/output towards these tools: - [Network Based Stratification (NBS)](http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3866081/), a method for stratification (clustering) of patients in a cancer cohort based on genome scale somatic mutations measurements and a gene interaction network. You can export a TRONCO object in the NBS input format with function `export.nbs.input`, clustering outputs can be handled with standard TRONCO functions. - [MUTEX](http://www.ncbi.nlm.nih.gov/pubmed/25887147), a method for the identification of sets of mutually exclusive gene alterations in a given set of genomic profiles by scanning the groups of genes with a common downstream effect on the signaling network. You can export a TRONCO object in the MUTEX input format with function `export.mutex`, and output results can be imported with function `import.mutex.groups`. Finally we also privede the possibility of exporting the inferred model to `graphML` format, which can be subsequently imported to *Cytoscape*. We now provide an example of such function. ```{r fig.show='hide', warning=FALSE, eval=FALSE} export.graphml(model.boot, file = 'graph.gml', fontsize = 12, scale.nodes = .6, height.logic = 0.25) ``` Follows an example of file generated by such function. Futhermore on the TRONCO website a *Cytoscape* style to visualize the progressions is available. ``` CAPRI - aCML CAPRI capri_bic - CAPRI capri_aic Generated with TRONCO v2.3.0 CSF3R CSF3R 4% (3) Nonsense point #FAB3D8 #000000 #000000 ellipse 109.2 72.8 18 1 [...] 1 Solid True #A9A9A9 [...] ```