gisticOncoPlot {maftools} | R Documentation

## Plot gistic results.

### Description

takes output generated by readGistic and draws a plot similar to oncoplot.

### Usage

    gisticOncoPlot(gistic, top = NULL, showTumorSampleBarcodes = FALSE,
      clinicalData = NULL, clinicalFeatures = NULL,
      sortByAnnotation = FALSE, annotationColor = NULL,
      bandsToIgnore = NULL, removeNonAltered = FALSE, colors = NULL,
      fontSize = 10)

### Arguments

`gistic` | an `GISTIC` object generated by `readGistic`
`top` | how many top cytobands to be drawn. defaults to all.
`showTumorSampleBarcodes` | logical to include sample names.
`clinicalData` | data.frame with columns containing Tumor_Sample_Barcodes and rest of columns with annotations.
`clinicalFeatures` | columns names from 'clinicalData' to be drawn in the plot. Dafault NULL.
`sortByAnnotation` | logical sort oncomatrix (samples) by provided 'clinicalFeatures'. Defaults to FALSE. column-sort
`annotationColor` | list of colors to use for clinicalFeatures. Default NULL.
`bandsToIgnore` | do not show these bands in the plot Default NULL.
`removeNonAltered` | Logical. If `TRUE` removes samples with no mutations in the oncoplot for better visualization. Default `FALSE`.
`colors` | named vector of colors Amp and Del events.
`fontSize` | font size for cytoband names. Default 10.

### Details

Takes gistic file as input and plots it as a matrix. Any desired annotations can be added at the bottom of the oncoplot by providing `annotation`

### Value

None.

### See Also

`oncostrip`

### Examples

    all.lesions <- system.file("extdata", "all_lesions.conf_99.txt", package = "maftools")
    amp.genes <- system.file("extdata", "amp_genes.conf_99.txt", package = "maftools")
    del.genes <- system.file("extdata", "del_genes.conf_99.txt", package = "maftools")
    scores.gistic <- system.file("extdata", "scores.gistic", package = "maftools")
    laml.gistic = readGistic(gisticAllLesionsFile = all.lesions, gisticAmpGenesFile = amp.genes, gisticDelGenesFile = del.genes, gisticScoresFile = scores.gistic)
    gisticOncoPlot(laml.gistic)

[Package maftools version 1.8.0 Index]