plotCircle {chimeraviz} | R Documentation

## Create a circle plot of the given fusions.

### Description

This function takes a list of Fusion objects and creates a circle plot indicating which chromosomes the fusion genes in the list consists of.

### Usage

    plotCircle(fusionList)

### Arguments

`fusionList` | A list of Fusion objects.

### Details

Note that only a limited number of gene names can be shown in the circle plot due to the limited resolution of the plot. RCircos will automatically limit the number of gene names shown if there are too many. Also note that fusions involving mitochondrial DNA will not be shown in this plot.

### Value

Creates a circle plot.

### Examples

    defuse833ke <- system.file(
      "extdata",
      "defuse_833ke_results.filtered.tsv",
      package="chimeraviz")
    fusions <- importDefuse(defuse833ke, "hg19", 3)
    # Temporary file to store the plot
    pngFilename <- tempfile(
      pattern = "circlePlot",
      fileext = ".png",
      tmpdir = tempdir())
    # Open device
    png(pngFilename, width = 1000, height = 750)
    # Plot!
    plotCircle(fusions)
    # Close device
    dev.off()

[Package chimeraviz version 1.4.3 Index]