Create an input file for MUTEX (ref: https://code.google.com/p/mutex/ )
A MUTEX example matrix
data(crc_gistic)
dataset = import.GISTIC(crc_gistic)
#> *** Using full GISTIC: #dim 9 x 6
#> *** GISTIC input format conversion started.
#> Converting input data to character for import speedup.
#> Creating 24 events for 6 genes
#> Extracting "Homozygous Loss" events (GISTIC = -2)
#> Extracting "Heterozygous Loss" events (GISTIC = -1)
#> Extracting "Low-level Gain" events (GISTIC = +1)
#> Extracting "High-level Gain" events (GISTIC = +2)
#> Transforming events in TRONCO data types .....
#> *** Binding events for 4 datasets.
#> *** Data extracted, returning only events observed in at least one sample
#> Number of events: n = 7
#> Number of genes: |G| = 6
#> Number of samples: m = 9
export.mutex(dataset)
#> TCGA-A6-2670 TCGA-A6-2672 TCGA-A6-2674 TCGA-A6-2676 TCGA-A6-2677
#> NRAS 0 0 0 0 0
#> CTNNB1 0 0 0 0 0
#> FBXW7 0 0 0 0 0
#> APC 0 0 0 0 0
#> KRAS 0 0 0 0 0
#> TP53 0 0 0 0 0
#> TCGA-A6-2678 TCGA-A6-2683 TCGA-A6-3807 TCGA-AA-3516
#> NRAS 0 0 0 0
#> CTNNB1 0 0 0 0
#> FBXW7 0 0 0 0
#> APC 0 0 0 0
#> KRAS 0 0 0 0
#> TP53 0 0 0 0